8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference
Reviewed-by: kvn, eosterlund
--- a/src/hotspot/share/jvmci/jvmciRuntime.cpp Mon Nov 25 18:38:01 2019 +0100
+++ b/src/hotspot/share/jvmci/jvmciRuntime.cpp Mon Nov 25 11:13:02 2019 -0800
@@ -702,7 +702,7 @@
}
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;
}