< prev index next > src/hotspot/share/gc/z/zUnload.cpp
Print this page
public:
void do_thread(Thread* thread) {}
};
void ZUnload::unload() {
+ ZUnloadRendezvousClosure cl;
if (!ClassUnloading) {
+ // Even when we don't use class unloading, we want a handshake to
+ // close the resurrection block window.
+ Handshake::execute(&cl);
return;
}
ZStatTimer timer(ZSubPhaseConcurrentClassesUnload);
// Unlink stale metadata and nmethods
unlink();
// Make sure stale metadata and nmethods are no longer observable
- ZUnloadRendezvousClosure cl;
Handshake::execute(&cl);
// Purge stale metadata and nmethods that were unlinked
purge();
}
< prev index next >