< 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;

115     VM_ShenandoahOperation(),
116     _gc(gc) {};
117   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahInitUpdateRefs; }
118   const char* name()             const { return "Shenandoah Init Update References"; }
119   virtual void doit();
120 };
121 
122 class VM_ShenandoahFinalUpdateRefs: public VM_ShenandoahOperation {
123   ShenandoahConcurrentGC* const _gc;
124 public:
125   VM_ShenandoahFinalUpdateRefs(ShenandoahConcurrentGC* gc) :
126     VM_ShenandoahOperation(),
127     _gc(gc) {};
128   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalUpdateRefs; }
129   const char* name()             const { return "Shenandoah Final Update References"; }
130   virtual void doit();
131 };
132 
133 class VM_ShenandoahFinalRoots: public VM_ShenandoahOperation {
134   ShenandoahConcurrentGC* const _gc;

135 public:
136   VM_ShenandoahFinalRoots(ShenandoahConcurrentGC* gc) :
137     VM_ShenandoahOperation(),
138     _gc(gc) {};
139   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalRoots; }
140   const char* name()             const { return "Shenandoah Final Roots"; }
141   virtual void doit();
142 };
143 
144 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHVMOPERATIONS_HPP

 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;

117     VM_ShenandoahOperation(),
118     _gc(gc) {};
119   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahInitUpdateRefs; }
120   const char* name()             const { return "Shenandoah Init Update References"; }
121   virtual void doit();
122 };
123 
124 class VM_ShenandoahFinalUpdateRefs: public VM_ShenandoahOperation {
125   ShenandoahConcurrentGC* const _gc;
126 public:
127   VM_ShenandoahFinalUpdateRefs(ShenandoahConcurrentGC* gc) :
128     VM_ShenandoahOperation(),
129     _gc(gc) {};
130   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalUpdateRefs; }
131   const char* name()             const { return "Shenandoah Final Update References"; }
132   virtual void doit();
133 };
134 
135 class VM_ShenandoahFinalRoots: public VM_ShenandoahOperation {
136   ShenandoahConcurrentGC* const _gc;
137   bool _incr_region_ages;
138 public:
139   VM_ShenandoahFinalRoots(ShenandoahConcurrentGC* gc, bool incr_region_ages) :
140     VM_ShenandoahOperation(),
141     _gc(gc), _incr_region_ages(incr_region_ages) {};
142   VM_Operation::VMOp_Type type() const { return VMOp_ShenandoahFinalRoots; }
143   const char* name()             const { return "Shenandoah Final Roots"; }
144   virtual void doit();
145 };
146 
147 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHVMOPERATIONS_HPP
< prev index next >