equal
deleted
inserted
replaced
69 virtual bool is_unloading(CompiledMethod* method) const { |
69 virtual bool is_unloading(CompiledMethod* method) const { |
70 nmethod* const nm = method->as_nmethod(); |
70 nmethod* const nm = method->as_nmethod(); |
71 ZReentrantLock* const lock = ZNMethod::lock_for_nmethod(nm); |
71 ZReentrantLock* const lock = ZNMethod::lock_for_nmethod(nm); |
72 ZLocker<ZReentrantLock> locker(lock); |
72 ZLocker<ZReentrantLock> locker(lock); |
73 ZIsUnloadingOopClosure cl; |
73 ZIsUnloadingOopClosure cl; |
74 nm->oops_do(&cl, true /* allow_zombie */); |
74 ZNMethod::nmethod_oops_do(nm, &cl); |
75 return cl.is_unloading(); |
75 return cl.is_unloading(); |
76 } |
76 } |
77 }; |
77 }; |
78 |
78 |
79 class ZCompiledICProtectionBehaviour : public CompiledICProtectionBehaviour { |
79 class ZCompiledICProtectionBehaviour : public CompiledICProtectionBehaviour { |