< prev index next >
src/share/vm/services/diagnosticCommand.cpp
Print this page
rev 7796 : 8072693: [BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()
Reviewed-by:
@@ -265,11 +265,11 @@
}
}
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.");
}
}
< prev index next >