8232244: [TESTBUG] Incorrect comment in TestClassUnloadEvent.java
authormseledtsov
Thu, 14 Nov 2019 11:16:14 -0800
changeset 59094 5d4c3724e4c7
parent 59093 6933b57d7667
child 59095 03fbcd06b4c0
8232244: [TESTBUG] Incorrect comment in TestClassUnloadEvent.java Summary: Removed incorrect comment Reviewed-by: iignatyev
test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java
--- a/test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java	Thu Nov 14 11:04:57 2019 +0000
+++ b/test/jdk/jdk/jfr/event/runtime/TestClassUnloadEvent.java	Thu Nov 14 11:16:14 2019 -0800
@@ -47,12 +47,6 @@
  * @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;