mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8060215: per-method PrintIdealGraphLevel
Use CompileCommand=option to set PrintIdealGraphLevel on a per-method level. Introduce the PrintIdealGraph develop to control/check if printing the graph is enabled for any method Reviewed-by: kvn, dlong, thartmann
This commit is contained in:
parent
38e46e728d
commit
bde7fd61b4
7 changed files with 39 additions and 9 deletions
|
@ -2344,7 +2344,7 @@ void Parse::do_one_bytecode() {
|
|||
|
||||
#ifndef PRODUCT
|
||||
IdealGraphPrinter *printer = IdealGraphPrinter::printer();
|
||||
if(printer) {
|
||||
if (printer && printer->should_print(_method)) {
|
||||
char buffer[256];
|
||||
sprintf(buffer, "Bytecode %d: %s", bci(), Bytecodes::name(bc()));
|
||||
bool old = printer->traverse_outs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue