< prev index next >
src/hotspot/share/gc/shared/gcVMOperations.hpp
Print this page
*** 123,138 ****
class VM_GC_HeapInspection: public VM_GC_Operation {
private:
outputStream* _out;
bool _full_gc;
public:
! VM_GC_HeapInspection(outputStream* out, bool request_full_gc) :
VM_GC_Operation(0 /* total collections, dummy, ignored */,
GCCause::_heap_inspection /* GC Cause */,
0 /* total full collections, dummy, ignored */,
! request_full_gc), _out(out), _full_gc(request_full_gc) {}
~VM_GC_HeapInspection() {}
virtual VMOp_Type type() const { return VMOp_GC_HeapInspection; }
virtual bool skip_operation() const;
virtual void doit();
--- 123,141 ----
class VM_GC_HeapInspection: public VM_GC_Operation {
private:
outputStream* _out;
bool _full_gc;
+ uint _parallel_thread_num;
public:
! VM_GC_HeapInspection(outputStream* out, bool request_full_gc,
! uint parallel_thread_num = 1) :
VM_GC_Operation(0 /* total collections, dummy, ignored */,
GCCause::_heap_inspection /* GC Cause */,
0 /* total full collections, dummy, ignored */,
! request_full_gc), _out(out), _full_gc(request_full_gc),
! _parallel_thread_num(parallel_thread_num) {}
~VM_GC_HeapInspection() {}
virtual VMOp_Type type() const { return VMOp_GC_HeapInspection; }
virtual bool skip_operation() const;
virtual void doit();
< prev index next >