--- old/src/hotspot/share/gc/z/zHeap.cpp 2018-09-18 21:51:58.589723648 +0200 +++ new/src/hotspot/share/gc/z/zHeap.cpp 2018-09-18 21:51:58.285710539 +0200 @@ -273,13 +273,13 @@ // Update statistics ZStatSample(ZSamplerHeapUsedBeforeMark, used()); - // Retire TLABs - _object_allocator.retire_tlabs(); - // Flip address view ZAddressMasks::flip_to_marked(); flip_views(); + // Retire allocating pages + _object_allocator.retire_pages(); + // Reset allocated/reclaimed/used statistics _page_allocator.reset_statistics(); @@ -475,9 +475,6 @@ ZAddressMasks::flip_to_remapped(); flip_views(); - // Remap TLABs - _object_allocator.remap_tlabs(); - // Enter relocate phase ZGlobalPhase = ZPhaseRelocate;