hotspot/src/share/vm/runtime/thread.cpp
changeset 13978 50ecf9f35089
parent 13975 2f7431485cfa
parent 13964 01a2b863cc61
child 14083 103054a71a30
equal deleted inserted replaced
13977:92de166c91b3 13978:50ecf9f35089
  2587   if (!has_last_Java_frame()) return;
  2587   if (!has_last_Java_frame()) return;
  2588   // BiasedLocking needs an updated RegisterMap for the revoke monitors pass
  2588   // BiasedLocking needs an updated RegisterMap for the revoke monitors pass
  2589   StackFrameStream fst(this, UseBiasedLocking);
  2589   StackFrameStream fst(this, UseBiasedLocking);
  2590   for(; !fst.is_done(); fst.next()) {
  2590   for(; !fst.is_done(); fst.next()) {
  2591     if (fst.current()->should_be_deoptimized()) {
  2591     if (fst.current()->should_be_deoptimized()) {
       
  2592       if (LogCompilation && xtty != NULL) {
       
  2593         nmethod* nm = fst.current()->cb()->as_nmethod_or_null();
       
  2594         xtty->elem("deoptimized thread='" UINTX_FORMAT "' compile_id='%d'",
       
  2595                    this->name(), nm != NULL ? nm->compile_id() : -1);
       
  2596       }
       
  2597 
  2592       Deoptimization::deoptimize(this, *fst.current(), fst.register_map());
  2598       Deoptimization::deoptimize(this, *fst.current(), fst.register_map());
  2593     }
  2599     }
  2594   }
  2600   }
  2595 }
  2601 }
  2596 
  2602