< prev index next >
src/hotspot/share/oops/method.cpp
Print this page
rev 54936 : [mq]: 8221734-v3
rev 54937 : [mq]: 8221734-v5
@@ -952,11 +952,11 @@
_code = NULL;
}
void Method::unlink_code(CompiledMethod *compare) {
MutexLocker ml(CompiledMethod_lock->owned_by_self() ? NULL : CompiledMethod_lock, Mutex::_no_safepoint_check_flag);
- // We need to check if both the _code and _from_compiled_code_entry_point
+ // We need to check if either the _code or _from_compiled_code_entry_point
// refer to this nmethod because there is a race in setting these two fields
// in Method* as seen in bugid 4947125.
// If the vep() points to the zombie nmethod, the memory for the nmethod
// could be flushed and the compiler and vtable stubs could still call
// through it.
< prev index next >