src/hotspot/share/jvmci/jvmciRuntime.cpp
changeset 59260 b0a649295f25
parent 59252 623722a6aeb9
child 59290 97d13893ec3c
equal deleted inserted replaced
59259:127ca611f19b 59260:b0a649295f25
   700     *addr = NULL;
   700     *addr = NULL;
   701   }
   701   }
   702 }
   702 }
   703 
   703 
   704 void JVMCINMethodData::invalidate_nmethod_mirror(nmethod* nm) {
   704 void JVMCINMethodData::invalidate_nmethod_mirror(nmethod* nm) {
   705   oop nmethod_mirror = get_nmethod_mirror(nm, /* phantom_ref */ true);
   705   oop nmethod_mirror = get_nmethod_mirror(nm, /* phantom_ref */ false);
   706   if (nmethod_mirror == NULL) {
   706   if (nmethod_mirror == NULL) {
   707     return;
   707     return;
   708   }
   708   }
   709 
   709 
   710   // Update the values in the mirror if it still refers to nm.
   710   // Update the values in the mirror if it still refers to nm.