1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Wed Sep 19 15:48:02 2012 -0700 1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Thu Sep 20 09:52:56 2012 -0700 1.3 @@ -1851,9 +1851,7 @@ 1.4 if (word_sz * 100 < gclab_word_size * ParallelGCBufferWastePct) { 1.5 G1ParGCAllocBuffer* alloc_buf = alloc_buffer(purpose); 1.6 add_to_alloc_buffer_waste(alloc_buf->words_remaining()); 1.7 - alloc_buf->flush_stats_and_retire(_g1h->stats_for_purpose(purpose), 1.8 - false /* end_of_gc */, 1.9 - false /* retain */); 1.10 + alloc_buf->retire(false /* end_of_gc */, false /* retain */); 1.11 1.12 HeapWord* buf = _g1h->par_allocate_during_gc(purpose, gclab_word_size); 1.13 if (buf == NULL) return NULL; // Let caller handle allocation failure.