--- old/src/share/vm/gc_implementation/g1/g1Allocator.hpp 2015-04-07 20:38:39.125789098 +0400 +++ new/src/share/vm/gc_implementation/g1/g1Allocator.hpp 2015-04-07 20:38:39.045789105 +0400 @@ -250,7 +250,7 @@ alloc_buffer(dest, context)->undo_allocation(obj, word_sz); } else { CollectedHeap::fill_with_object(obj, word_sz); - add_to_undo_waste(word_sz); + alloc_buffer(dest, context)->add_undo_waste(word_sz); } } }; @@ -271,7 +271,7 @@ return _alloc_buffers[dest.value()]; } - virtual void retire_alloc_buffers() ; + virtual void retire_alloc_buffers(); }; #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ALLOCATOR_HPP