< prev index next >

src/hotspot/share/gc/shared/memAllocator.cpp

Print this page

        

@@ -318,11 +318,11 @@
 
   // Discard tlab and allocate a new one.
   // 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;
   }
 
< prev index next >