mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
8005772: Stubs report compile id -1 in phase events
Use 0 to indicate id is NA, -1 for error or uninitalized Reviewed-by: kvn, twisti
This commit is contained in:
parent
d1b60c9f04
commit
bcbdbf9996
2 changed files with 2 additions and 2 deletions
|
@ -505,7 +505,7 @@ void CompileTask::log_task(xmlStream* log) {
|
|||
ResourceMark rm(thread);
|
||||
|
||||
// <task id='9' method='M' osr_bci='X' level='1' blocking='1' stamp='1.234'>
|
||||
if (_compile_id != 0) log->print(" compile_id='%d'", _compile_id);
|
||||
log->print(" compile_id='%d'", _compile_id);
|
||||
if (_osr_bci != CompileBroker::standard_entry_bci) {
|
||||
log->print(" compile_kind='osr'"); // same as nmethod::compile_kind
|
||||
} // else compile_kind='c2c'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue