mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 14:11:36 +00:00
8279568: IGV: Add bci and line number property for OSR compilations
Reviewed-by: kvn, roland
This commit is contained in:
parent
8d1a1e83f4
commit
2f8a2fd077
@ -316,7 +316,9 @@ void IdealGraphPrinter::begin_method() {
|
||||
}
|
||||
|
||||
if (C->is_osr_compilation()) {
|
||||
print_prop(COMPILATION_OSR_PROPERTY, TRUE_VALUE);
|
||||
stringStream ss;
|
||||
ss.print("bci: %d, line: %d", C->entry_bci(), method->line_number_from_bci(C->entry_bci()));
|
||||
print_prop(COMPILATION_OSR_PROPERTY, ss.as_string());
|
||||
}
|
||||
|
||||
print_prop(COMPILATION_ID_PROPERTY, C->compile_id());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user