mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8140581: Excluding compile messages should only be printed with PrintCompilation
Use PrintCompilation flag instead Reviewed-by: kvn
This commit is contained in:
parent
8cb3dad077
commit
efd194d2e3
1 changed files with 1 additions and 1 deletions
|
@ -1202,7 +1202,7 @@ bool CompileBroker::compilation_is_prohibited(methodHandle method, int osr_bci,
|
||||||
double scale;
|
double scale;
|
||||||
if (excluded || (CompilerOracle::has_option_value(method, "CompileThresholdScaling", scale) && scale == 0)) {
|
if (excluded || (CompilerOracle::has_option_value(method, "CompileThresholdScaling", scale) && scale == 0)) {
|
||||||
bool quietly = CompilerOracle::should_exclude_quietly();
|
bool quietly = CompilerOracle::should_exclude_quietly();
|
||||||
if (!quietly) {
|
if (PrintCompilation && !quietly) {
|
||||||
// This does not happen quietly...
|
// This does not happen quietly...
|
||||||
ResourceMark rm;
|
ResourceMark rm;
|
||||||
tty->print("### Excluding %s:%s",
|
tty->print("### Excluding %s:%s",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue