diff --git a/test/hotspot/jtreg/runtime/cds/CdsDifferentCompactObjectHeaders.java b/test/hotspot/jtreg/runtime/cds/CdsDifferentCompactObjectHeaders.java index 604bfb678ac..32bbd7d7fee 100644 --- a/test/hotspot/jtreg/runtime/cds/CdsDifferentCompactObjectHeaders.java +++ b/test/hotspot/jtreg/runtime/cds/CdsDifferentCompactObjectHeaders.java @@ -29,6 +29,7 @@ * is different from compact headers for creating a CDS file * should fail when loading. * @requires vm.cds + * @requires vm.gc.G1 | vm.gc.Parallel * @requires vm.bits == 64 * @library /test/lib * @run driver CdsDifferentCompactObjectHeaders