From 7508d9f9e0cea84d2be8d974215daae3c75140c3 Mon Sep 17 00:00:00 2001 From: Ioi Lam Date: Mon, 29 May 2023 20:25:57 +0000 Subject: [PATCH] 8308906: Make CIPrintCompilerName a diagnostic flag Reviewed-by: kvn, stuefe --- src/hotspot/share/compiler/compileTask.cpp | 4 ---- src/hotspot/share/compiler/compiler_globals.hpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/hotspot/share/compiler/compileTask.cpp b/src/hotspot/share/compiler/compileTask.cpp index 649f24fc0d4..bb0826d9245 100644 --- a/src/hotspot/share/compiler/compileTask.cpp +++ b/src/hotspot/share/compiler/compileTask.cpp @@ -210,10 +210,6 @@ void CompileTask::print_line_on_error(outputStream* st, char* buf, int buflen) { // CompileTask::print_tty void CompileTask::print_tty() { ttyLocker ttyl; // keep the following output all in one block - // print compiler name if requested - if (CIPrintCompilerName) { - tty->print("%s:", CompileBroker::compiler_name(comp_level())); - } print(tty); } diff --git a/src/hotspot/share/compiler/compiler_globals.hpp b/src/hotspot/share/compiler/compiler_globals.hpp index 542f428984e..7f1f08b68ef 100644 --- a/src/hotspot/share/compiler/compiler_globals.hpp +++ b/src/hotspot/share/compiler/compiler_globals.hpp @@ -50,7 +50,7 @@ \ /* compiler interface */ \ \ - develop(bool, CIPrintCompilerName, false, \ + product(bool, CIPrintCompilerName, false, DIAGNOSTIC, \ "when CIPrint is active, print the name of the active compiler") \ \ product(bool, CIPrintCompileQueue, false, DIAGNOSTIC, \