Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions hotspot/src/share/vm/services/diagnosticCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,7 @@ int VMUptimeDCmd::num_arguments() {
}

void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
if (!DisableExplicitGC) {
Universe::heap()->collect(GCCause::_java_lang_system_gc);
} else {
output()->print_cr("Explicit GC is disabled, no GC has been performed.");
}
Universe::heap()->collect(GCCause::GCCause::_java_lang_system_gc);
}

void RunFinalizationDCmd::execute(DCmdSource source, TRAPS) {
Expand Down