diff src/hotspot/share/gc/z/zUnload.cpp @ 54567:224515275cf9

8219718: ZGC: Make nmethod entry barriers and nmethod::is_unloading use ZNMethodDataOops Reviewed-by: pliden, stefank
author eosterlund
date Wed, 17 Apr 2019 12:41:33 +0200
parents a590b6107ab3
children 1126f0607c70
line wrap: on
line diff
--- a/src/hotspot/share/gc/z/zUnload.cpp	Mon Apr 15 06:41:02 2019 -0700
+++ b/src/hotspot/share/gc/z/zUnload.cpp	Wed Apr 17 12:41:33 2019 +0200
@@ -71,7 +71,7 @@
     ZReentrantLock* const lock = ZNMethod::lock_for_nmethod(nm);
     ZLocker<ZReentrantLock> locker(lock);
     ZIsUnloadingOopClosure cl;
-    nm->oops_do(&cl, true /* allow_zombie */);
+    ZNMethod::nmethod_oops_do(nm, &cl);
     return cl.is_unloading();
   }
 };