8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference

Reviewed-by: kvn, eosterlund
This commit is contained in:
Tom Rodriguez 2019-11-25 11:13:02 -08:00
parent 096bacb9ea
commit f81c192da9

View File

@ -702,7 +702,7 @@ void JVMCINMethodData::clear_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) {
return;
}