126 |
126 |
127 |
127 |
128 // VM operation to invoke a concurrent collection of the heap as a |
128 // VM operation to invoke a concurrent collection of the heap as a |
129 // GenCollectedHeap heap. |
129 // GenCollectedHeap heap. |
130 class VM_GenCollectFullConcurrent: public VM_GC_Operation { |
130 class VM_GenCollectFullConcurrent: public VM_GC_Operation { |
|
131 bool _disabled_icms; |
131 public: |
132 public: |
132 VM_GenCollectFullConcurrent(unsigned int gc_count_before, |
133 VM_GenCollectFullConcurrent(unsigned int gc_count_before, |
133 unsigned int full_gc_count_before, |
134 unsigned int full_gc_count_before, |
134 GCCause::Cause gc_cause) |
135 GCCause::Cause gc_cause) |
135 : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */) { |
136 : VM_GC_Operation(gc_count_before, gc_cause, full_gc_count_before, true /* full */), |
|
137 _disabled_icms(false) |
|
138 { |
136 assert(FullGCCount_lock != NULL, "Error"); |
139 assert(FullGCCount_lock != NULL, "Error"); |
137 assert(UseAsyncConcMarkSweepGC, "Else will hang caller"); |
140 assert(UseAsyncConcMarkSweepGC, "Else will hang caller"); |
138 } |
141 } |
139 ~VM_GenCollectFullConcurrent() {} |
142 ~VM_GenCollectFullConcurrent() {} |
140 virtual VMOp_Type type() const { return VMOp_GenCollectFullConcurrent; } |
143 virtual VMOp_Type type() const { return VMOp_GenCollectFullConcurrent; } |