--- old/test/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java 2014-11-05 19:17:53.165407095 +0400 +++ new/test/com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java 2014-11-05 19:17:52.993407094 +0400 @@ -26,6 +26,7 @@ * @bug 8028994 * @author Staffan Larsen * @library /lib/testlibrary + * @requires vm.gc=="ConcMarkSweep" | vm.gc=="null" * @build jdk.testlibrary.* * @run main CheckOrigin */ --- old/test/java/lang/management/MemoryMXBean/LowMemoryTest2.sh 2014-11-05 19:17:53.573407106 +0400 +++ new/test/java/lang/management/MemoryMXBean/LowMemoryTest2.sh 2014-11-05 19:17:53.393407101 +0400 @@ -25,7 +25,7 @@ # @test # @bug 4982128 # @summary Test low memory detection of non-heap memory pool -# +# @requires vm.gc=="null" # @run build LowMemoryTest2 MemoryUtil # @run shell/timeout=600 LowMemoryTest2.sh # --- old/test/java/lang/management/MemoryMXBean/MemoryManagementConcMarkSweepGC.sh 2014-11-05 19:17:53.993407116 +0400 +++ new/test/java/lang/management/MemoryMXBean/MemoryManagementConcMarkSweepGC.sh 2014-11-05 19:17:53.813407111 +0400 @@ -26,7 +26,7 @@ # @bug 4530538 # @summary Run MemoryManagement test with concurrent mark sweep GC # @author Mandy Chung -# +# @requires vm.gc=="ConcMarkSweep" | vm.gc=="null" # @run build MemoryManagement # @run shell/timeout=600 MemoryManagementConcMarkSweepGC.sh # --- old/test/java/lang/management/MemoryMXBean/MemoryManagementParallelGC.sh 2014-11-05 19:17:54.433407126 +0400 +++ new/test/java/lang/management/MemoryMXBean/MemoryManagementParallelGC.sh 2014-11-05 19:17:54.241407117 +0400 @@ -26,7 +26,7 @@ # @bug 4530538 # @summary Run MemoryManagement test with parallel GC # @author Mandy Chung -# +# @requires vm.gc=="Parallel" | vm.gc=="null" # @run build MemoryManagement # @run shell/timeout=600 MemoryManagementParallelGC.sh # --- old/test/java/lang/management/MemoryMXBean/MemoryManagementSerialGC.sh 2014-11-05 19:17:54.833407131 +0400 +++ new/test/java/lang/management/MemoryMXBean/MemoryManagementSerialGC.sh 2014-11-05 19:17:54.661407131 +0400 @@ -26,7 +26,7 @@ # @bug 4530538 # @summary Run MemoryManagement test with serial GC # @author Mandy Chung -# +# @requires vm.gc=="Serial" | vm.gc=="null" # @run build MemoryManagement # @run shell/timeout=600 MemoryManagementSerialGC.sh # --- old/test/java/lang/management/MemoryMXBean/MemoryTestAllGC.sh 2014-11-05 19:17:55.253407138 +0400 +++ new/test/java/lang/management/MemoryMXBean/MemoryTestAllGC.sh 2014-11-05 19:17:55.069407139 +0400 @@ -26,7 +26,7 @@ # @bug 4530538 # @summary # @author Mandy Chung -# +# @requires vm.gc=="null" # @run compile MemoryTest.java # @run shell MemoryTestAllGC.sh # --- old/test/java/lang/management/MemoryMXBean/PendingAllGC.sh 2014-11-05 19:17:55.661407150 +0400 +++ new/test/java/lang/management/MemoryMXBean/PendingAllGC.sh 2014-11-05 19:17:55.481407145 +0400 @@ -26,7 +26,7 @@ # @bug 4530538 # @summary # @author Mandy Chung -# +# @requires vm.gc=="null" # @run compile Pending.java # @run shell PendingAllGC.sh # --- old/test/java/lang/management/RuntimeMXBean/TestInputArgument.sh 2014-11-05 19:17:56.073407161 +0400 +++ new/test/java/lang/management/RuntimeMXBean/TestInputArgument.sh 2014-11-05 19:17:55.893407153 +0400 @@ -26,7 +26,7 @@ # @bug 4530538 # @summary # @author Mandy Chung -# +# @requires vm.gc=="Parallel" | vm.gc=="null" # @run compile InputArgument.java # @run shell TestInputArgument.sh # --- old/test/java/lang/ref/EnqueuePollRace.java 2014-11-05 19:17:56.497407165 +0400 +++ new/test/java/lang/ref/EnqueuePollRace.java 2014-11-05 19:17:56.317407167 +0400 @@ -25,6 +25,7 @@ * @bug 8014890 * @summary Verify that a race between ReferenceQueue.enqueue() and poll() does not occur. * @author thomas.schatzl@oracle.com + * @requires vm.gc=="Serial" | vm.gc=="null" * @run main/othervm -XX:+UseSerialGC -Xmx10M EnqueuePollRace */ --- old/test/sun/tools/jps/TestJpsClass.java 2014-11-05 19:17:56.913407179 +0400 +++ new/test/sun/tools/jps/TestJpsClass.java 2014-11-05 19:17:56.725407171 +0400 @@ -35,6 +35,7 @@ * will be started from within the test application. * The output should contain proper values. * @library /lib/testlibrary + * @requires vm.gc=="Parallel" | vm.gc=="null" * @build jdk.testlibrary.* JpsHelper JpsBase * @run driver TestJpsClass */ --- old/test/sun/tools/jps/TestJpsJar.java 2014-11-05 19:17:57.321407187 +0400 +++ new/test/sun/tools/jps/TestJpsJar.java 2014-11-05 19:17:57.133407184 +0400 @@ -36,6 +36,7 @@ * will be started from within the test application. * The output should contain proper values. * @library /lib/testlibrary + * @requires vm.gc=="Parallel" | vm.gc=="null" * @build jdk.testlibrary.* JpsHelper JpsBase * @run driver TestJpsJar */ --- old/test/sun/tools/jps/TestJpsJarRelative.java 2014-11-05 19:17:57.753407198 +0400 +++ new/test/sun/tools/jps/TestJpsJarRelative.java 2014-11-05 19:17:57.569407192 +0400 @@ -36,6 +36,7 @@ * will be started from within the test application. * The output should contain proper values. * @library /lib/testlibrary + * @requires vm.gc=="Parallel" | vm.gc=="null" * @build jdk.testlibrary.* JpsHelper JpsBase * @run driver TestJpsJarRelative */ --- old/test/sun/tools/jstat/jstatGcCauseOutput1.sh 2014-11-05 19:17:58.197407205 +0400 +++ new/test/sun/tools/jstat/jstatGcCauseOutput1.sh 2014-11-05 19:17:58.013407202 +0400 @@ -24,6 +24,7 @@ # @test # @bug 4990825 # @run shell jstatGcCauseOutput1.sh +# @requires vm.gc=="Serial" | vm.gc=="null" # @summary Test that output of 'jstat -gccause 0' has expected line counts . ${TESTSRC-.}/../../jvmstat/testlibrary/utils.sh