Skip to content

Commit

Permalink
[GC] Disable ArrayBaseOffsets.java on risc64
Browse files Browse the repository at this point in the history
Summary: alignment of array elements hasn't changed on risc64, thus skip its test

Testing: test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java

Reviewers: mmyxym, sendaoYan

Issue: #814
  • Loading branch information
weixlu committed May 14, 2024
1 parent 7494e9c commit b4aca74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* @library /test/lib
* @requires vm.bits == "64"
* @requires vm.opt.UseCompressedClassPointers != false
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64"
* @modules java.base/jdk.internal.misc
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders -XX:+UseCompressedOops ArrayBaseOffsets
*/
Expand All @@ -34,6 +35,7 @@
* @library /test/lib
* @requires vm.bits == "64"
* @requires vm.opt.UseCompressedClassPointers != false
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64"
* @modules java.base/jdk.internal.misc
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders -XX:-UseCompressedOops ArrayBaseOffsets
*/
Expand All @@ -43,6 +45,7 @@
* @requires vm.bits == "64"
* @requires vm.opt.UseCompressedClassPointers != false
* @requires vm.opt.UseCompactObjectHeaders != true
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64"
* @modules java.base/jdk.internal.misc
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseCompactObjectHeaders -XX:+UseCompressedClassPointers ArrayBaseOffsets
*/
Expand All @@ -51,6 +54,7 @@
* @library /test/lib
* @requires vm.bits == "64"
* @requires vm.opt.UseCompactObjectHeaders != true
* @requires os.arch=="amd64" | os.arch=="x86_64" | os.arch=="aarch64"
* @modules java.base/jdk.internal.misc
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseCompactObjectHeaders -XX:-UseCompressedClassPointers ArrayBaseOffsets
*/
Expand Down

0 comments on commit b4aca74

Please sign in to comment.