< prev index next >

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

Print this page

 43 //       - VM_ShenandoahDegeneratedGC: do STW degenerated GC
 44 
 45 class VM_ShenandoahOperation : public VM_Operation {
 46 protected:
 47   uint         _gc_id;
 48 public:
 49   VM_ShenandoahOperation() : _gc_id(GCId::current()) {};
 50   virtual bool skip_thread_oop_barriers() const { return true; }
 51 };
 52 
 53 class VM_ShenandoahReferenceOperation : public VM_ShenandoahOperation {
 54 public:
 55   VM_ShenandoahReferenceOperation() : VM_ShenandoahOperation() {};
 56   bool doit_prologue();
 57   void doit_epilogue();
 58 };
 59 
 60 class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
 61 private:
 62   ShenandoahConcurrentGC* const _gc;

 63 public:
 64   VM_ShenandoahInitMark(ShenandoahConcurrentGC* gc) :
 65     VM_ShenandoahOperation(),
 66     _gc(gc) {};

 67   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahInitMark; }
 68   const char* name()             const { return "Shenandoah Init Marking"; }
 69   virtual void doit();
 70 };
 71 
 72 class VM_ShenandoahFinalMarkStartEvac: public VM_ShenandoahOperation {
 73 private:
 74   ShenandoahConcurrentGC* const _gc;
 75 public:
 76   VM_ShenandoahFinalMarkStartEvac(ShenandoahConcurrentGC* gc) :
 77     VM_ShenandoahOperation(),
 78     _gc(gc) {};
 79   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalMarkStartEvac; }
 80   const char* name()             const { return "Shenandoah Final Mark and Start Evacuation"; }
 81   virtual  void doit();
 82 };
 83 
 84 class VM_ShenandoahDegeneratedGC: public VM_ShenandoahReferenceOperation {
 85 private:
 86   ShenandoahDegenGC* const _gc;

 43 //       - VM_ShenandoahDegeneratedGC: do STW degenerated GC
 44 
 45 class VM_ShenandoahOperation : public VM_Operation {
 46 protected:
 47   uint         _gc_id;
 48 public:
 49   VM_ShenandoahOperation() : _gc_id(GCId::current()) {};
 50   virtual bool skip_thread_oop_barriers() const { return true; }
 51 };
 52 
 53 class VM_ShenandoahReferenceOperation : public VM_ShenandoahOperation {
 54 public:
 55   VM_ShenandoahReferenceOperation() : VM_ShenandoahOperation() {};
 56   bool doit_prologue();
 57   void doit_epilogue();
 58 };
 59 
 60 class VM_ShenandoahInitMark: public VM_ShenandoahOperation {
 61 private:
 62   ShenandoahConcurrentGC* const _gc;
 63   const bool _do_old_gc_bootstrap;
 64 public:
 65   VM_ShenandoahInitMark(ShenandoahConcurrentGC* gc, bool do_old_gc_bootstrap) :
 66     VM_ShenandoahOperation(),
 67     _gc(gc),
 68     _do_old_gc_bootstrap(do_old_gc_bootstrap) {};
 69   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahInitMark; }
 70   const char* name()             const { return "Shenandoah Init Marking"; }
 71   virtual void doit();
 72 };
 73 
 74 class VM_ShenandoahFinalMarkStartEvac: public VM_ShenandoahOperation {
 75 private:
 76   ShenandoahConcurrentGC* const _gc;
 77 public:
 78   VM_ShenandoahFinalMarkStartEvac(ShenandoahConcurrentGC* gc) :
 79     VM_ShenandoahOperation(),
 80     _gc(gc) {};
 81   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalMarkStartEvac; }
 82   const char* name()             const { return "Shenandoah Final Mark and Start Evacuation"; }
 83   virtual  void doit();
 84 };
 85 
 86 class VM_ShenandoahDegeneratedGC: public VM_ShenandoahReferenceOperation {
 87 private:
 88   ShenandoahDegenGC* const _gc;
< prev index next >