changeset 57094:b0a649295f25

8234359: [JVMCI] invalidate_nmethod_mirror shouldn't use a phantom reference Reviewed-by: kvn, eosterlund
author never
date Mon, 25 Nov 2019 11:13:02 -0800
parents 127ca611f19b
children 4cf1246fbb9c
files src/hotspot/share/jvmci/jvmciRuntime.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
   }