src/hotspot/share/memory/iterator.cpp
changeset 58777 18c246ad2ff9
parent 54786 ebf733a324d4
--- a/src/hotspot/share/memory/iterator.cpp	Thu Oct 24 15:53:20 2019 +0800
+++ b/src/hotspot/share/memory/iterator.cpp	Thu Oct 24 11:08:16 2019 +0200
@@ -59,7 +59,7 @@
 
 void MarkingCodeBlobClosure::do_code_blob(CodeBlob* cb) {
   nmethod* nm = cb->as_nmethod_or_null();
-  if (nm != NULL && !nm->test_set_oops_do_mark()) {
+  if (nm != NULL && nm->oops_do_try_claim()) {
     do_nmethod(nm);
   }
 }