changeset 9218:96bcdd3a6e79

8140581: Excluding compile messages should only be printed with PrintCompilation Summary: Use PrintCompilation flag instead Reviewed-by: kvn
author neliasso
date Wed, 28 Oct 2015 15:44:28 +0100
parents 0b2937220009
children 0fa6910c516d
files src/share/vm/compiler/compileBroker.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Wed Oct 28 16:01:45 2015 +0000
+++ b/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",