--- old/src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp 2018-09-14 13:44:05.756224502 +0200 +++ new/src/hotspot/share/gc/shared/threadLocalAllocBuffer.hpp 2018-09-14 13:44:05.451211315 +0200 @@ -92,9 +92,6 @@ // Make parsable and release it. void reset(); - // Resize based on amount of allocation, etc. - void resize(); - void invariants() const { assert(top() >= start() && top() <= end(), "invalid tlab"); } void initialize(HeapWord* start, HeapWord* top, HeapWord* end); @@ -168,12 +165,12 @@ // Retire in-use tlab before allocation of a new tlab void clear_before_allocation(); + // Resize based on amount of allocation, etc. + void resize(); + // Accumulate statistics across all tlabs before gc static void accumulate_statistics_before_gc(); - // Resize tlabs for all threads - static void resize_all_tlabs(); - void fill(HeapWord* start, HeapWord* top, size_t new_size); void initialize();