# HG changeset patch # User neliasso # Date 1446043468 -3600 # Node ID e119795bddb7d9c82e172df6167ada52e54a34a2 # Parent 70ee0065d3ab0ab1d693d9b59cf2b98785832448 8140581: Excluding compile messages should only be printed with PrintCompilation Summary: Use PrintCompilation flag instead Reviewed-by: kvn diff -r 70ee0065d3ab -r e119795bddb7 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",