From d3305ea286651fcf3bb19f59972b7f21ab7e8abe Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Sun, 5 May 2024 19:13:24 +0800 Subject: [PATCH] [Misc] Disable ArrayBaseOffsets.java#no-coh-no-ccp when test with -XX:+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: https://github.com/dragonwell-project/dragonwell11/issues/812 Signed-off-by: sendaoYan --- test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java b/test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java index fbb2a55cb0d..e3854f97c14 100644 --- a/test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java +++ b/test/hotspot/jtreg/runtime/FieldLayout/ArrayBaseOffsets.java @@ -42,6 +42,7 @@ * @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 */ @@ -49,6 +50,7 @@ * @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 */