8274563: jfr/event/oldobject/TestClassLoaderLeak.java fails when GC cycles are not happening

Reviewed-by: egahlin
This commit is contained in:
Aleksey Shipilev 2021-10-04 12:35:58 +00:00
parent 0828273b89
commit 47bfc8aa93

View File

@ -40,10 +40,9 @@ import jdk.test.lib.jfr.Events;
* @test
* @key jfr
* @requires vm.hasJFR
* @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
* @run main/othervm -XX:TLABSize=2k -Xmx128m jdk.jfr.event.oldobject.TestClassLoaderLeak
*/
public class TestClassLoaderLeak {