--- old/src/hotspot/share/gc/shared/gcVMOperations.cpp 2020-04-28 11:55:54.951696957 +0800 +++ new/src/hotspot/share/gc/shared/gcVMOperations.cpp 2020-04-28 11:55:54.791697778 +0800 @@ -152,7 +152,7 @@ } } HeapInspection inspect; - inspect.heap_inspection(_out); + inspect.heap_inspection(_out, _parallel_thread_num); }