--- old/src/hotspot/share/gc/shared/gcVMOperations.hpp 2020-04-27 10:20:17.475864811 +0200 +++ new/src/hotspot/share/gc/shared/gcVMOperations.hpp 2020-04-27 10:20:17.287861750 +0200 @@ -125,12 +125,15 @@ private: outputStream* _out; bool _full_gc; + size_t _parallel_thread_num; public: - VM_GC_HeapInspection(outputStream* out, bool request_full_gc) : + VM_GC_HeapInspection(outputStream* out, bool request_full_gc, + size_t 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) {} + 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; }