Merge
authorgziemski
Fri, 01 Sep 2017 13:03:14 +0000
changeset 47107 8356043b90f0
parent 47106 bed18a111b90 (current diff)
parent 47105 d8bd7f7d5147 (diff)
child 47108 942ca8282fe5
child 47109 7aaffc8b46ce
Merge
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp	Thu Aug 31 20:26:53 2017 -0500
+++ b/hotspot/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) {