< prev index next >

src/hotspot/share/gc/g1/g1CodeBlobClosure.cpp

Print this page

        

@@ -55,11 +55,11 @@
 void G1CodeBlobClosure::do_code_blob(CodeBlob* cb) {
   nmethod* nm = cb->as_nmethod_or_null();
   if (nm != NULL) {
     if (!nm->test_set_oops_do_mark()) {
       _oc.set_nm(nm);
-      nm->oops_do(&_oc);
+      nm->oops_do_keepalive(&_oc, _keepalive_is_strong);
       nm->fix_oop_relocations();
     }
   }
 }
 
< prev index next >