hotspot/src/share/vm/services/diagnosticCommand.cpp
changeset 29074 fbd83ffd242b
parent 29071 73f45d04ad7a
parent 28935 a0a29e3b7864
child 29085 7b01b134b727
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp	Fri Feb 13 20:33:25 2015 +0000
+++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp	Sat Feb 14 00:03:48 2015 +0000
@@ -268,7 +268,7 @@
 
 void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
   if (!DisableExplicitGC) {
-    Universe::heap()->collect(GCCause::_dcmd_gc_run);
+    Universe::heap()->collect(GCCause::_java_lang_system_gc);
   } else {
     output()->print_cr("Explicit GC is disabled, no GC has been performed.");
   }