hotspot/src/share/vm/runtime/thread.cpp
changeset 13964 01a2b863cc61
parent 13860 70ec7368a991
child 13978 50ecf9f35089
equal deleted inserted replaced
13951:3fc49366dc15 13964:01a2b863cc61
  2581   if (!has_last_Java_frame()) return;
  2581   if (!has_last_Java_frame()) return;
  2582   // BiasedLocking needs an updated RegisterMap for the revoke monitors pass
  2582   // BiasedLocking needs an updated RegisterMap for the revoke monitors pass
  2583   StackFrameStream fst(this, UseBiasedLocking);
  2583   StackFrameStream fst(this, UseBiasedLocking);
  2584   for(; !fst.is_done(); fst.next()) {
  2584   for(; !fst.is_done(); fst.next()) {
  2585     if (fst.current()->should_be_deoptimized()) {
  2585     if (fst.current()->should_be_deoptimized()) {
       
  2586       if (LogCompilation && xtty != NULL) {
       
  2587         nmethod* nm = fst.current()->cb()->as_nmethod_or_null();
       
  2588         xtty->elem("deoptimized thread='" UINTX_FORMAT "' compile_id='%d'",
       
  2589                    this->name(), nm != NULL ? nm->compile_id() : -1);
       
  2590       }
       
  2591 
  2586       Deoptimization::deoptimize(this, *fst.current(), fst.register_map());
  2592       Deoptimization::deoptimize(this, *fst.current(), fst.register_map());
  2587     }
  2593     }
  2588   }
  2594   }
  2589 }
  2595 }
  2590 
  2596