hotspot/src/share/vm/gc_implementation/shared/vmGCOperations.hpp
changeset 2141 e9a644aaff87
parent 670 ddf3e9583f2f
child 5343 95a5c4b89273
equal deleted inserted replaced
2124:6222ebfe4292 2141:e9a644aaff87
   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;