equal
deleted
inserted
replaced
110 |
110 |
111 class VM_GC_HeapInspection: public VM_GC_Operation { |
111 class VM_GC_HeapInspection: public VM_GC_Operation { |
112 private: |
112 private: |
113 outputStream* _out; |
113 outputStream* _out; |
114 bool _full_gc; |
114 bool _full_gc; |
|
115 bool _need_prologue; |
115 public: |
116 public: |
116 VM_GC_HeapInspection(outputStream* out, bool request_full_gc) : |
117 VM_GC_HeapInspection(outputStream* out, bool request_full_gc, |
|
118 bool need_prologue) : |
117 VM_GC_Operation(0 /* total collections, dummy, ignored */, |
119 VM_GC_Operation(0 /* total collections, dummy, ignored */, |
118 0 /* total full collections, dummy, ignored */, |
120 0 /* total full collections, dummy, ignored */, |
119 request_full_gc) { |
121 request_full_gc) { |
120 _out = out; |
122 _out = out; |
121 _full_gc = request_full_gc; |
123 _full_gc = request_full_gc; |
|
124 _need_prologue = need_prologue; |
122 } |
125 } |
123 |
126 |
124 ~VM_GC_HeapInspection() {} |
127 ~VM_GC_HeapInspection() {} |
125 virtual VMOp_Type type() const { return VMOp_GC_HeapInspection; } |
128 virtual VMOp_Type type() const { return VMOp_GC_HeapInspection; } |
126 virtual bool skip_operation() const; |
129 virtual bool skip_operation() const; |