From a5ed93db7ce0828552f2ef967f873019b520e0e4 Mon Sep 17 00:00:00 2001 From: Katja Kantserova Date: Wed, 3 Dec 2014 11:56:02 +0100 Subject: [PATCH] 8044591: [TESTBUG] com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationp[Content]Test.java fail when -XX:+ExplicitGCInvokesConcurrent Reviewed-by: sla, fparain --- jdk/test/ProblemList.txt | 4 ---- .../GarbageCollectionNotificationContentTest.java | 1 + .../GarbageCollectionNotificationTest.java | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/jdk/test/ProblemList.txt b/jdk/test/ProblemList.txt index fb0af4e7087..a8d13e5e7f5 100644 --- a/jdk/test/ProblemList.txt +++ b/jdk/test/ProblemList.txt @@ -135,10 +135,6 @@ java/lang/instrument/RetransformBigClass.sh generic-all # jdk_management -# 8044591 -com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java generic-all -com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java generic-all - # 8058492 java/lang/management/ThreadMXBean/FindDeadlocks.java generic-all diff --git a/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java b/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java index 6d3386b0905..e823f3108b8 100644 --- a/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java +++ b/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java @@ -26,6 +26,7 @@ * @bug 7036199 * @summary Check that GarbageCollectionNotification contents are reasonable * @author Frederic Parain + * @requires vm.opt.ExplicitGCInvokesConcurrent == null | vm.opt.ExplicitGCInvokesConcurrent == false * @run main/othervm GarbageCollectionNotificationContentTest */ diff --git a/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java b/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java index bad4e4076b0..da8082ed2ad 100644 --- a/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java +++ b/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java @@ -26,6 +26,7 @@ * @bug 7036199 * @summary Check that GarbageCollection notification are thrown by every GarbageCollectorMXBean * @author Frederic Parain + * @requires vm.opt.ExplicitGCInvokesConcurrent == null | vm.opt.ExplicitGCInvokesConcurrent == false * @run main/othervm GarbageCollectionNotificationTest */