--- old/src/hotspot/share/gc/shared/memAllocator.cpp 2018-09-20 11:58:01.986907807 +0200 +++ new/src/hotspot/share/gc/shared/memAllocator.cpp 2018-09-20 11:58:01.685894781 +0200 @@ -320,7 +320,7 @@ // To minimize fragmentation, the last TLAB may be smaller than the rest. size_t new_tlab_size = tlab.compute_size(_word_size); - tlab.clear_before_allocation(); + tlab.retire_before_allocation(); if (new_tlab_size == 0) { return NULL;