8263725: JFR oldobject tests are not run when GCs are specified explicitly

Reviewed-by: tschatzl, mgronlun
This commit is contained in:
Stefan Karlsson 2021-03-18 06:52:48 +00:00
parent 444a80b920
commit 72b82fd7be
19 changed files with 5 additions and 19 deletions

View File

@ -41,7 +41,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestAllocationTime

View File

@ -40,7 +40,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestArrayInformation

View File

@ -37,7 +37,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestCircularReference

View File

@ -42,7 +42,7 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @requires vm.gc != "Serial"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestClassLoaderLeak

View File

@ -42,7 +42,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k -Xlog:gc+tlab=trace jdk.jfr.event.oldobject.TestFieldInformation

View File

@ -38,7 +38,7 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @requires vm.gc.G1
* @summary Test leak profiler with G1 GC
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test

View File

@ -37,7 +37,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestHeapDeep

View File

@ -36,7 +36,6 @@ import jdk.test.lib.jfr.EventNames;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestHeapShallow

View File

@ -47,7 +47,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestLargeRootSet

View File

@ -41,7 +41,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestLastKnownHeapUsage

View File

@ -38,7 +38,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestListenerLeak

View File

@ -45,7 +45,6 @@ import jdk.test.lib.jfr.TestClassLoader;
* @test
* @summary The test verifies that an old object sample maintains references to "stale" metadata
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @key jfr
* @modules jdk.jfr/jdk.jfr.internal.test
* @library /test/lib /test/jdk

View File

@ -39,7 +39,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestObjectAge

View File

@ -43,7 +43,7 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @requires vm.gc != "Z"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestObjectDescription

View File

@ -38,7 +38,7 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @requires vm.gc.Parallel
* @summary Test leak profiler with Parallel GC
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test

View File

@ -36,7 +36,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test
* @run main/othervm -XX:TLABSize=2k jdk.jfr.event.oldobject.TestReferenceChainLimit

View File

@ -37,7 +37,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @library /test/lib /test/jdk
* @summary Purpose of this test is to run leak profiler without command line tweaks or WhiteBox hacks until we succeed
* @run main/othervm jdk.jfr.event.oldobject.TestSanityDefault

View File

@ -38,7 +38,7 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @requires vm.gc == "null"
* @requires vm.gc.Serial
* @summary Test leak profiler with Serial GC
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test

View File

@ -38,7 +38,6 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR & vm.gc.Z
* @requires vm.gc == "null"
* @summary Test leak profiler with ZGC
* @library /test/lib /test/jdk
* @modules jdk.jfr/jdk.jfr.internal.test