diff src/share/vm/runtime/thread.cpp @ 6857:5876f980ea19

Merge
author collins
date Fri, 12 Oct 2012 11:31:27 -0700
parents fb19af007ffc c3e799c37717
children 7b5885dadbdc
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp	Fri Oct 12 10:49:39 2012 -0700
+++ b/src/share/vm/runtime/thread.cpp	Fri Oct 12 11:31:27 2012 -0700
@@ -2589,6 +2589,12 @@
   StackFrameStream fst(this, UseBiasedLocking);
   for(; !fst.is_done(); fst.next()) {
     if (fst.current()->should_be_deoptimized()) {
+      if (LogCompilation && xtty != NULL) {
+        nmethod* nm = fst.current()->cb()->as_nmethod_or_null();
+        xtty->elem("deoptimized thread='" UINTX_FORMAT "' compile_id='%d'",
+                   this->name(), nm != NULL ? nm->compile_id() : -1);
+      }
+
       Deoptimization::deoptimize(this, *fst.current(), fst.register_map());
     }
   }