--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2018-04-23 13:45:31.840436898 +0200 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2018-04-23 13:45:31.496423327 +0200 @@ -420,7 +420,9 @@ // humongous allocation requests should go to mem_allocate() which // will satisfy them with a special path. - virtual HeapWord* allocate_new_tlab(size_t word_size); + virtual HeapWord* allocate_new_tlab(size_t min_word_size, + size_t desired_word_size, + size_t* actual_word_size); virtual HeapWord* mem_allocate(size_t word_size, bool* gc_overhead_limit_was_exceeded); @@ -428,7 +430,10 @@ // First-level mutator allocation attempt: try to allocate out of // the mutator alloc region without taking the Heap_lock. This // should only be used for non-humongous allocations. - inline HeapWord* attempt_allocation(size_t word_size); + inline HeapWord* attempt_allocation(size_t min_word_size, + size_t desired_word_size, + size_t* actual_word_size); + // Second-level mutator allocation attempt: take the Heap_lock and // retry the allocation attempt, potentially scheduling a GC