< prev index next >

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

Print this page
*** 59,11 ***
  
  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();
--- 59,11 ---
  
  class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
  public:
!   explicit 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();

*** 71,11 ***
  
  class VM_ShenandoahFinalMarkStartEvac: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
  public:
!   VM_ShenandoahFinalMarkStartEvac(ShenandoahConcurrentGC* gc) :
      VM_ShenandoahOperation(),
      _gc(gc) {};
    VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalMarkStartEvac; }
    const char* name()             const { return "Shenandoah Final Mark and Start Evacuation"; }
    virtual  void doit();
--- 71,11 ---
  
  class VM_ShenandoahFinalMarkStartEvac: public VM_ShenandoahOperation {
  private:
    ShenandoahConcurrentGC* const _gc;
  public:
!   explicit VM_ShenandoahFinalMarkStartEvac(ShenandoahConcurrentGC* gc) :
      VM_ShenandoahOperation(),
      _gc(gc) {};
    VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalMarkStartEvac; }
    const char* name()             const { return "Shenandoah Final Mark and Start Evacuation"; }
    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();
  };
  
--- 130,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 >