This commit is contained in:
Gary Collins 2012-10-12 11:31:27 -07:00
commit 3a32124e5c
135 changed files with 2294 additions and 1132 deletions

View file

@ -2589,6 +2589,12 @@ void JavaThread::deoptimized_wrt_marked_nmethods() {
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());
}
}