From 5d15840cfae4a56f66334971e8075de1f37b0d74 Mon Sep 17 00:00:00 2001 From: Liang Mao Date: Wed, 6 Mar 2024 14:55:43 +0800 Subject: [PATCH] [Misc] Test CdsDifferentCompactObjectHeaders.java should only run with supported GC Summary: CdsDifferentCompactObjectHeaders.java should only run with supported GC Testing: test/hotspot/jtreg/runtime/cds/CdsDifferentCompactObjectHeaders.java Reviewers: yifeng, yude Issue: https://github.com/dragonwell-project/dragonwell11/issues/794 --- .../jtreg/runtime/cds/CdsDifferentCompactObjectHeaders.java | 1 + 1 file changed, 1 insertion(+) 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