hotspot/src/share/vm/services/diagnosticCommand.cpp
changeset 28836 d9c497544bf3
parent 28363 047115468f16
child 28935 a0a29e3b7864
child 29071 73f45d04ad7a
equal deleted inserted replaced
28835:2e467a95d04c 28836:d9c497544bf3
   265   }
   265   }
   266 }
   266 }
   267 
   267 
   268 void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
   268 void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
   269   if (!DisableExplicitGC) {
   269   if (!DisableExplicitGC) {
   270     Universe::heap()->collect(GCCause::_java_lang_system_gc);
   270     Universe::heap()->collect(GCCause::_dcmd_gc_run);
   271   } else {
   271   } else {
   272     output()->print_cr("Explicit GC is disabled, no GC has been performed.");
   272     output()->print_cr("Explicit GC is disabled, no GC has been performed.");
   273   }
   273   }
   274 }
   274 }
   275 
   275