< prev index next >

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

Print this page
*** 34,10 ***
--- 34,11 ---
  // VM_operations for the Shenandoah Collector.
  //
  // VM_ShenandoahOperation
  //   - VM_ShenandoahInitMark: initiate concurrent marking
  //   - VM_ShenandoahFinalMarkStartEvac: finish up concurrent marking, and start evacuation
+ //   - VM_ShenandoahFinalRoots: finish up roots processing
  //   - VM_ShenandoahInitUpdateRefs: initiate update references
  //   - VM_ShenandoahFinalUpdateRefs: finish up update references
  //   - VM_ShenandoahFinalVerify: final verification at the end of the cycle
  //   - VM_ShenandoahReferenceOperation:
  //       - VM_ShenandoahFullGC: do full GC

*** 125,10 ***
--- 126,19 ---
    VM_Operation::VMOp_Type type() const override { return VMOp_ShenandoahFinalUpdateRefs; }
    const char* name()             const override { return "Shenandoah Final Update References"; }
    void doit() override;
  };
  
+ class VM_ShenandoahFinalRoots: public VM_ShenandoahOperation {
+   ShenandoahConcurrentGC* const _gc;
+ public:
+   explicit VM_ShenandoahFinalRoots(ShenandoahConcurrentGC* gc);
+   VM_Operation::VMOp_Type type() const override { return VMOp_ShenandoahFinalRoots; }
+   const char* name()             const override { return "Shenandoah Final Roots"; }
+   void doit() override;
+ };
+ 
  class VM_ShenandoahFinalVerify: public VM_ShenandoahOperation {
    ShenandoahConcurrentGC* const _gc;
  public:
    explicit VM_ShenandoahFinalVerify(ShenandoahConcurrentGC* gc);
    VM_Operation::VMOp_Type type() const override { return VMOp_ShenandoahFinalVerify; }
< prev index next >