< prev index next >

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

Print this page
*** 181,17 ***
    inline ShenandoahCleanUpdateWeakOopsClosure(IsAlive* is_alive, KeepAlive* keep_alive);
    inline void do_oop(oop* p);
    inline void do_oop(narrowOop* p);
  };
  
- class ShenandoahNMethodAndDisarmClosure : public NMethodToOopClosure {
- public:
-   inline ShenandoahNMethodAndDisarmClosure(OopClosure* cl);
-   inline void do_nmethod(nmethod* nm);
- };
- 
- 
  //
  // ========= Update References
  //
  
  template <ShenandoahGenerationType GENERATION>
--- 181,10 ---

*** 243,10 ***
--- 236,16 ---
  
  //
  // ========= Utilities
  //
  
+ class ShenandoahNoOpClosure : public OopClosure {
+ public:
+   inline void do_oop(oop* p)       { }
+   inline void do_oop(narrowOop* p) { }
+ };
+ 
  #ifdef ASSERT
  class ShenandoahAssertNotForwardedClosure : public OopClosure {
  private:
    template <class T>
    inline void do_oop_work(T* p);
< prev index next >