--- old/src/hotspot/share/gc/g1/g1Allocator.hpp 2018-04-23 13:45:28.408301508 +0200 +++ new/src/hotspot/share/gc/g1/g1Allocator.hpp 2018-04-23 13:45:28.020286202 +0200 @@ -99,7 +99,9 @@ // Allocate blocks of memory during mutator time. - 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); inline HeapWord* attempt_allocation_locked(size_t word_size); inline HeapWord* attempt_allocation_force(size_t word_size);