From f8415a9b2f610ed431e6948c8174f6d982e5b31f Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Thu, 30 Sep 2021 06:54:13 +0000 Subject: [PATCH] 8274523: java/lang/management/MemoryMXBean/MemoryTest.java test should handle Shenandoah Reviewed-by: mchung, cjplummer --- test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java b/test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java index d60b2e465931b..a0828dc63bd15 100644 --- a/test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java +++ b/test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java @@ -26,7 +26,7 @@ * @bug 4530538 * @summary Basic unit test of MemoryMXBean.getMemoryPools() and * MemoryMXBean.getMemoryManager(). - * @requires vm.gc != "Z" + * @requires vm.gc != "Z" & vm.gc != "Shenandoah" * @author Mandy Chung * * @modules jdk.management @@ -38,7 +38,7 @@ * @bug 4530538 * @summary Basic unit test of MemoryMXBean.getMemoryPools() and * MemoryMXBean.getMemoryManager(). - * @requires vm.gc == "Z" + * @requires vm.gc == "Z" | vm.gc == "Shenandoah" * @author Mandy Chung * * @modules jdk.management