< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahNMethod.hpp

Print this page
rev 59304 : 8245124: Shenandoah: optimize code root evacuation/update during concurrent class unloading

*** 49,59 **** ShenandoahNMethod(nmethod *nm, GrowableArray<oop*>& oops, bool has_non_immed_oops); ~ShenandoahNMethod(); inline nmethod* nm() const; inline ShenandoahReentrantLock* lock(); ! void oops_do(OopClosure* oops, bool fix_relocations = false); // Update oops when the nmethod is re-registered void update(); bool has_cset_oops(ShenandoahHeap* heap); --- 49,59 ---- ShenandoahNMethod(nmethod *nm, GrowableArray<oop*>& oops, bool has_non_immed_oops); ~ShenandoahNMethod(); inline nmethod* nm() const; inline ShenandoahReentrantLock* lock(); ! inline void oops_do(OopClosure* oops, bool fix_relocations = false); // Update oops when the nmethod is re-registered void update(); bool has_cset_oops(ShenandoahHeap* heap);
*** 65,74 **** --- 65,75 ---- static ShenandoahNMethod* for_nmethod(nmethod* nm); static inline ShenandoahReentrantLock* lock_for_nmethod(nmethod* nm); static void heal_nmethod(nmethod* nm); + static inline void heal_nmethod_metadata(ShenandoahNMethod* nmethod_data); static inline void disarm_nmethod(nmethod* nm); static inline ShenandoahNMethod* gc_data(nmethod* nm); static inline void attach_gc_data(nmethod* nm, ShenandoahNMethod* gc_data);
< prev index next >