changeset 51817 | 46eac084082d |
parent 50882 | 80abf702eed8 |
child 52033 | d6aa9ea2405d |
--- a/src/hotspot/share/gc/shared/memAllocator.cpp Thu Sep 20 08:11:21 2018 -0400 +++ b/src/hotspot/share/gc/shared/memAllocator.cpp Thu Sep 20 14:04:43 2018 +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;