< prev index next > src/hotspot/share/runtime/javaThread.cpp
Print this page
for (StackFrameStream fst(this, true /* update */, true /* process_frames */); !fst.is_done(); fst.next()) {
if (fst.current()->can_be_deoptimized()) {
// it is a Java nmethod
nmethod* nm = CodeCache::find_nmethod(fst.current()->pc());
assert(nm != nullptr, "did not find nmethod");
! nm->make_not_entrant("zombie");
}
}
}
#endif // PRODUCT
for (StackFrameStream fst(this, true /* update */, true /* process_frames */); !fst.is_done(); fst.next()) {
if (fst.current()->can_be_deoptimized()) {
// it is a Java nmethod
nmethod* nm = CodeCache::find_nmethod(fst.current()->pc());
assert(nm != nullptr, "did not find nmethod");
! nm->make_not_entrant(nmethod::InvalidationReason::ZOMBIE);
}
}
}
#endif // PRODUCT
< prev index next >