hotspot/src/share/vm/services/diagnosticCommand.cpp
changeset 28836 d9c497544bf3
parent 28363 047115468f16
child 28935 a0a29e3b7864
child 29071 73f45d04ad7a
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp	Tue Feb 03 15:50:06 2015 +0100
+++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp	Wed Feb 04 22:21:08 2015 +0900
@@ -267,7 +267,7 @@
 
 void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
   if (!DisableExplicitGC) {
-    Universe::heap()->collect(GCCause::_java_lang_system_gc);
+    Universe::heap()->collect(GCCause::_dcmd_gc_run);
   } else {
     output()->print_cr("Explicit GC is disabled, no GC has been performed.");
   }