From 51abc89ab6e8ac4e07b56a34508cc970936276b0 Mon Sep 17 00:00:00 2001 From: Mikhailo Seledtsov Date: Thu, 14 Nov 2019 11:16:14 -0800 Subject: [PATCH] 8232244: [TESTBUG] Incorrect comment in TestClassUnloadEvent.java Removed incorrect comment Reviewed-by: iignatyev --- test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java b/test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java index bdf362ec7b2..a15deb1301a 100644 --- a/test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java +++ b/test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java @@ -47,12 +47,6 @@ import jdk.test.lib.jfr.TestClassLoader; * @run main/othervm -Xlog:class+unload -Xlog:gc -Xmx16m jdk.jfr.event.runtime.TestClassUnloadEvent */ -/** - * System.gc() will trigger class unloading if -XX:+ExplicitGCInvokesConcurrent is NOT set. - * If this flag is set G1 will never unload classes on System.gc(). - * As far as the "jfr" key guarantees no VM flags are set from the outside - * it should be enough with System.gc(). - */ public final class TestClassUnloadEvent { private final static String TEST_CLASS_NAME = "jdk.jfr.event.runtime.TestClasses"; private final static String EVENT_PATH = EventNames.ClassUnload;