75 virtual const char* name() const { |
75 virtual const char* name() const { |
76 return "garbage-first incremental collection pause"; |
76 return "garbage-first incremental collection pause"; |
77 } |
77 } |
78 }; |
78 }; |
79 |
79 |
80 class VM_G1PopRegionCollectionPause: public VM_GC_Operation { |
|
81 HeapRegion* _pop_region; |
|
82 public: |
|
83 VM_G1PopRegionCollectionPause(int gc_count_before, HeapRegion* pop_region) : |
|
84 VM_GC_Operation(gc_count_before), |
|
85 _pop_region(pop_region) |
|
86 {} |
|
87 virtual VMOp_Type type() const { return VMOp_G1PopRegionCollectionPause; } |
|
88 virtual void doit(); |
|
89 virtual const char* name() const { |
|
90 return "garbage-first popular region collection pause"; |
|
91 } |
|
92 }; |
|
93 |
|
94 // Concurrent GC stop-the-world operations such as initial and final mark; |
80 // Concurrent GC stop-the-world operations such as initial and final mark; |
95 // consider sharing these with CMS's counterparts. |
81 // consider sharing these with CMS's counterparts. |
96 class VM_CGC_Operation: public VM_Operation { |
82 class VM_CGC_Operation: public VM_Operation { |
97 VoidClosure* _cl; |
83 VoidClosure* _cl; |
98 const char* _printGCMessage; |
84 const char* _printGCMessage; |