< prev index next >

src/share/vm/services/diagnosticCommand.cpp

Print this page

        

@@ -265,11 +265,11 @@
   }
 }
 
 void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
   if (!DisableExplicitGC) {
-    Universe::heap()->collect(GCCause::_java_lang_system_gc);
+    Universe::heap()->collect(GCCause::_jcmd_gc_run);
   } else {
     output()->print_cr("Explicit GC is disabled, no GC has been performed.");
   }
 }
 
< prev index next >