equal
deleted
inserted
replaced
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 |