hotspot/src/share/vm/runtime/thread.cpp
// Make zombies
void JavaThread::make_zombies() {
for(StackFrameStream fst(this); !fst.is_done(); fst.next()) {
if (fst.current()->can_be_deoptimized()) {
// it is a Java nmethod
nmethod* nm = CodeCache::find_nmethod(fst.current()->pc());
nm->make_not_entrant();
}
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.