< prev index next >

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

Print this page
*** 24,26 ***
  
  #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
  #define SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
  
  #include "gc/shenandoah/shenandoahMark.hpp"
  
  class ShenandoahSTWMarkTask;
  
  class ShenandoahSTWMark : public ShenandoahMark {
    friend class ShenandoahSTWMarkTask;
  
  private:
    ShenandoahSTWRootScanner      _root_scanner;
    TaskTerminator                _terminator;
    bool                          _full_gc;
  public:
!  ShenandoahSTWMark(bool full_gc);
   void mark();
  
  private:
    void mark_roots(uint worker_id);
    void finish_mark(uint worker_id);
  };
  
  #endif // SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
- 
--- 24,27 ---
  
  #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
  #define SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
  
  #include "gc/shenandoah/shenandoahMark.hpp"
+ #include "gc/shenandoah/shenandoahRootProcessor.hpp"
  
  class ShenandoahSTWMarkTask;
+ class ShenandoahGeneration;
  
  class ShenandoahSTWMark : public ShenandoahMark {
    friend class ShenandoahSTWMarkTask;
  
  private:
    ShenandoahSTWRootScanner      _root_scanner;
    TaskTerminator                _terminator;
    bool                          _full_gc;
  public:
!  ShenandoahSTWMark(ShenandoahGeneration* generation, bool full_gc);
   void mark();
  
  private:
    void mark_roots(uint worker_id);
    void finish_mark(uint worker_id);
  };
  
  #endif // SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
< prev index next >