8140581: Excluding compile messages should only be printed with PrintCompilation
authorneliasso
Wed, 28 Oct 2015 15:44:28 +0100
changeset 33478 e119795bddb7
parent 33477 70ee0065d3ab
child 33479 2f62e0833ea2
8140581: Excluding compile messages should only be printed with PrintCompilation Summary: Use PrintCompilation flag instead Reviewed-by: kvn
hotspot/src/share/vm/compiler/compileBroker.cpp
--- a/hotspot/src/share/vm/compiler/compileBroker.cpp	Wed Oct 28 16:01:45 2015 +0000
+++ b/hotspot/src/share/vm/compiler/compileBroker.cpp	Wed Oct 28 15:44:28 2015 +0100
@@ -1202,7 +1202,7 @@
   double scale;
   if (excluded || (CompilerOracle::has_option_value(method, "CompileThresholdScaling", scale) && scale == 0)) {
     bool quietly = CompilerOracle::should_exclude_quietly();
-    if (!quietly) {
+    if (PrintCompilation && !quietly) {
       // This does not happen quietly...
       ResourceMark rm;
       tty->print("### Excluding %s:%s",