diff --git a/src/hotspot/share/jvmci/jvmciRuntime.cpp b/src/hotspot/share/jvmci/jvmciRuntime.cpp index be8a0c5c47a..3e9918963be 100644 --- a/src/hotspot/share/jvmci/jvmciRuntime.cpp +++ b/src/hotspot/share/jvmci/jvmciRuntime.cpp @@ -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; }