changeset 22751:1dc87d090f96

Add pc to deoptimized LogCompilation message
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 15 Dec 2015 09:46:00 -0800
parents cbdce7fb4091
children c5dfcc7bdfaf
files src/share/vm/runtime/deoptimization.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Tue Dec 15 09:44:47 2015 -0800
+++ b/src/share/vm/runtime/deoptimization.cpp	Tue Dec 15 09:46:00 2015 -0800
@@ -1313,7 +1313,7 @@
     assert(nm != NULL, "only nmethods can deopt");
 
     ttyLocker ttyl;
-    xtty->begin_head("deoptimized thread='" UINTX_FORMAT "'", thread->osthread()->thread_id());
+    xtty->begin_head("deoptimized thread='" UINTX_FORMAT "' pc='" UINTX_FORMAT "'", thread->osthread()->thread_id(), fr.pc());
     nm->log_identity(xtty);
     xtty->end_head();
     for (ScopeDesc* sd = nm->scope_desc_at(fr.pc()); ; sd = sd->sender()) {