< prev index next >

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

Print this page
*** 26,20 ***
  #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);
--- 26,21 ---
  #define SHARE_GC_SHENANDOAH_SHENANDOAHSTWMARK_HPP
  
  #include "gc/shenandoah/shenandoahMark.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);
< prev index next >