8279568: IGV: Add bci and line number property for OSR compilations

Reviewed-by: kvn, roland
This commit is contained in:
Christian Hagedorn 2022-01-10 08:17:36 +00:00
parent 8d1a1e83f4
commit 2f8a2fd077

View File

@ -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());