8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference
Reviewed-by: kvn, eosterlund
This commit is contained in:
parent
096bacb9ea
commit
f81c192da9
@ -702,7 +702,7 @@ void JVMCINMethodData::clear_nmethod_mirror(nmethod* nm) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void JVMCINMethodData::invalidate_nmethod_mirror(nmethod* nm) {
|
void JVMCINMethodData::invalidate_nmethod_mirror(nmethod* nm) {
|
||||||
oop nmethod_mirror = get_nmethod_mirror(nm, /* phantom_ref */ true);
|
oop nmethod_mirror = get_nmethod_mirror(nm, /* phantom_ref */ false);
|
||||||
if (nmethod_mirror == NULL) {
|
if (nmethod_mirror == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user