8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference
authornever
Mon, 25 Nov 2019 11:13:02 -0800
changeset 59260 b0a649295f25
parent 59259 127ca611f19b
child 59261 4cf1246fbb9c
8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference Reviewed-by: kvn, eosterlund
src/hotspot/share/jvmci/jvmciRuntime.cpp
--- 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;
   }