comparison 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
comparison
equal deleted inserted replaced
6856:9855b7e559ae 6857:5876f980ea19
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