Skip to content

Commit

Permalink
[Misc] Disable ArrayBaseOffsets.java#no-coh-no-ccp when test with -XX…
Browse files Browse the repository at this point in the history
…:+UseCompactObjectHeaders

Summary: Disable runtime/FieldLayout/ArrayBaseOffsets.java#no-coh-no-ccp and runtime/FieldLayout/ArrayBaseOffsets.java#no-coh-with-ccp when test with -XX:+UseCompactObjectHeaders

Testing: CI pipeline

Reviewers: maoliang.ml, lvfei.lv

Issue: #812
  • Loading branch information
sendaoYan committed May 5, 2024
1 parent 938e093 commit 05e89dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@
* @library /test/lib
* @requires vm.bits == "64"
* @requires vm.opt.UseCompressedClassPointers != false
* @requires vm.opt.UseCompactObjectHeaders != true
* @modules java.base/jdk.internal.misc
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseCompactObjectHeaders -XX:+UseCompressedClassPointers ArrayBaseOffsets
*/
/*
* @test id=no-coh-no-ccp
* @library /test/lib
* @requires vm.bits == "64"
* @requires vm.opt.UseCompactObjectHeaders != true
* @modules java.base/jdk.internal.misc
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseCompactObjectHeaders -XX:-UseCompressedClassPointers ArrayBaseOffsets
*/
Expand Down

0 comments on commit 05e89dc

Please sign in to comment.