mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8156126: LogCompilation: Dump additional info about deoptimization events
Added reason and pc information to deoptimization info. Reviewed-by: vlivanov
This commit is contained in:
parent
622a5ae6f0
commit
28efea6754
1 changed files with 1 additions and 1 deletions
|
@ -1321,7 +1321,7 @@ void Deoptimization::deoptimize_single_frame(JavaThread* thread, frame fr, Deopt
|
|||
assert(cm != NULL, "only compiled methods can deopt");
|
||||
|
||||
ttyLocker ttyl;
|
||||
xtty->begin_head("deoptimized thread='" UINTX_FORMAT "'", (uintx)thread->osthread()->thread_id());
|
||||
xtty->begin_head("deoptimized thread='" UINTX_FORMAT "' reason='%s' pc='" INTPTR_FORMAT "'",(uintx)thread->osthread()->thread_id(), trap_reason_name(reason), p2i(fr.pc()));
|
||||
cm->log_identity(xtty);
|
||||
xtty->end_head();
|
||||
for (ScopeDesc* sd = cm->scope_desc_at(fr.pc()); ; sd = sd->sender()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue