comparison src/share/vm/runtime/thread.cpp @ 6843:c3e799c37717

7177003: C1: LogCompilation support Summary: add LogCompilation support in C1 - both client and tiered mode. Reviewed-by: twisti, kvn
author vlivanov
date Fri, 05 Oct 2012 18:57:10 -0700
parents c088e2e95e69
children 5876f980ea19
comparison
equal deleted inserted replaced
6830:81e878c53615 6843:c3e799c37717
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