< prev index next >

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

Print this page
*** 133,10 ***
--- 133,20 ---
    ShenandoahGCPauseMark mark(_gc_id, "Final Update Refs", SvcGCMarker::CONCURRENT);
    set_active_generation();
    _gc->entry_final_update_refs();
  }
  
+ VM_ShenandoahFinalRoots::VM_ShenandoahFinalRoots(ShenandoahConcurrentGC* gc)
+   : VM_ShenandoahOperation(gc->generation()), _gc(gc) {
+ }
+ 
+ void VM_ShenandoahFinalRoots::doit() {
+   ShenandoahGCPauseMark mark(_gc_id, "Final Roots", SvcGCMarker::FULL);
+   set_active_generation();
+   _gc->entry_final_roots();
+ }
+ 
  VM_ShenandoahFinalVerify::VM_ShenandoahFinalVerify(ShenandoahConcurrentGC* gc)
    : VM_ShenandoahOperation(gc->generation()), _gc(gc) {
  }
  
  void VM_ShenandoahFinalVerify::doit() {
< prev index next >