# HG changeset patch # User mseledtsov # Date 1573758974 28800 # Node ID 5d4c3724e4c7ad513f717bb5306fa4ffcbfabf20 # Parent 6933b57d7667760dc583efed7a7c162d692dcfdb 8232244: [TESTBUG] Incorrect comment in TestClassUnloadEvent.java Summary: Removed incorrect comment Reviewed-by: iignatyev diff -r 6933b57d7667 -r 5d4c3724e4c7 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;