--- old/src/hotspot/share/gc/shared/gcVMOperations.cpp 2020-08-08 18:28:54.509603442 +0800 +++ new/src/hotspot/share/gc/shared/gcVMOperations.cpp 2020-08-08 18:28:54.333604045 +0800 @@ -149,7 +149,7 @@ } } HeapInspection inspect; - inspect.heap_inspection(_out); + inspect.heap_inspection(_out, _parallel_thread_num); }