changeset 13648:046eab27258f

Merge
author gziemski
date Fri, 01 Sep 2017 13:03:14 +0000
parents 61c0ae8bee4e 3d1150c7899c
children 86445dc6021b 25b63c7d1fa3
files
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/services/diagnosticCommand.cpp	Thu Aug 31 20:26:53 2017 -0500
+++ b/src/share/vm/services/diagnosticCommand.cpp	Fri Sep 01 13:03:14 2017 +0000
@@ -414,11 +414,7 @@
 }
 
 void SystemGCDCmd::execute(DCmdSource source, TRAPS) {
-  if (!DisableExplicitGC) {
-    Universe::heap()->collect(GCCause::_dcmd_gc_run);
-  } else {
-    output()->print_cr("Explicit GC is disabled, no GC has been performed.");
-  }
+  Universe::heap()->collect(GCCause::_dcmd_gc_run);
 }
 
 void RunFinalizationDCmd::execute(DCmdSource source, TRAPS) {