hotspot/src/share/vm/memory/iterator.cpp
changeset 3913 e049e6b81e11
parent 3912 3aaaaad1ccb0
child 3919 b15d85d98b61
--- a/hotspot/src/share/vm/memory/iterator.cpp	Wed Sep 23 23:56:15 2009 -0700
+++ b/hotspot/src/share/vm/memory/iterator.cpp	Wed Sep 23 23:57:44 2009 -0700
@@ -68,8 +68,8 @@
   }
 }
 
-void CodeBlobToOopClosure::do_newly_marked_nmethod(CodeBlob* cb) {
-  cb->oops_do(_cl);
+void CodeBlobToOopClosure::do_newly_marked_nmethod(nmethod* nm) {
+  nm->oops_do(_cl, /*do_strong_roots_only=*/ true);
 }
 
 void CodeBlobToOopClosure::do_code_blob(CodeBlob* cb) {