< prev index next >

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

Print this page
*** 58,14 ***
  };
  
  class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
  public:
!   VM_ShenandoahInitMark(ShenandoahConcurrentGC* gc) :
      VM_ShenandoahOperation(),
!     _gc(gc) {};
    VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahInitMark; }
    const char* name()             const { return "Shenandoah Init Marking"; }
    virtual void doit();
  };
  
--- 58,16 ---
  };
  
  class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
+   const bool _do_old_gc_bootstrap;
  public:
!   VM_ShenandoahInitMark(ShenandoahConcurrentGC* gc, bool do_old_gc_bootstrap) :
      VM_ShenandoahOperation(),
!     _gc(gc),
+     _do_old_gc_bootstrap(do_old_gc_bootstrap) {};
    VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahInitMark; }
    const char* name()             const { return "Shenandoah Init Marking"; }
    virtual void doit();
  };
  

*** 130,14 ***
    virtual void doit();
  };
  
  class VM_ShenandoahFinalRoots: public VM_ShenandoahOperation {
    ShenandoahConcurrentGC* const _gc;
  public:
!   VM_ShenandoahFinalRoots(ShenandoahConcurrentGC* gc) :
      VM_ShenandoahOperation(),
!     _gc(gc) {};
    VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalRoots; }
    const char* name()             const { return "Shenandoah Final Roots"; }
    virtual void doit();
  };
  
--- 132,15 ---
    virtual void doit();
  };
  
  class VM_ShenandoahFinalRoots: public VM_ShenandoahOperation {
    ShenandoahConcurrentGC* const _gc;
+   bool _incr_region_ages;
  public:
!   VM_ShenandoahFinalRoots(ShenandoahConcurrentGC* gc, bool incr_region_ages) :
      VM_ShenandoahOperation(),
!     _gc(gc), _incr_region_ages(incr_region_ages) {};
    VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalRoots; }
    const char* name()             const { return "Shenandoah Final Roots"; }
    virtual void doit();
  };
  
< prev index next >