< prev index next >
src/hotspot/share/runtime/thread.cpp
Print this page
rev 56098 : imported patch 8226705-8221734-baseline
rev 56100 : imported patch 8226705-inflate-on-deopt
*** 2857,2873 ****
}
}
#endif // PRODUCT
! void JavaThread::deoptimize_marked_methods(bool in_handshake) {
if (!has_last_Java_frame()) return;
// BiasedLocking needs an updated RegisterMap for the revoke monitors pass
StackFrameStream fst(this, UseBiasedLocking);
for (; !fst.is_done(); fst.next()) {
if (fst.current()->should_be_deoptimized()) {
! Deoptimization::deoptimize(this, *fst.current(), fst.register_map(), in_handshake);
}
}
}
// If the caller is a NamedThread, then remember, in the current scope,
--- 2857,2873 ----
}
}
#endif // PRODUCT
! void JavaThread::deoptimize_marked_methods() {
if (!has_last_Java_frame()) return;
// BiasedLocking needs an updated RegisterMap for the revoke monitors pass
StackFrameStream fst(this, UseBiasedLocking);
for (; !fst.is_done(); fst.next()) {
if (fst.current()->should_be_deoptimized()) {
! Deoptimization::deoptimize(this, *fst.current(), fst.register_map());
}
}
}
// If the caller is a NamedThread, then remember, in the current scope,
< prev index next >