--- old/src/share/vm/gc_implementation/shared/parGCAllocBuffer.cpp 2015-04-07 20:38:40.393789049 +0400 +++ new/src/share/vm/gc_implementation/shared/parGCAllocBuffer.cpp 2015-04-07 20:38:40.309789057 +0400 @@ -39,7 +39,7 @@ ParGCAllocBuffer::ParGCAllocBuffer(size_t desired_plab_sz_) : _word_sz(desired_plab_sz_), _bottom(NULL), _top(NULL), - _end(NULL), _hard_end(NULL), _allocated(0), _wasted(0) + _end(NULL), _hard_end(NULL), _allocated(0), _wasted(0), _undo_wasted(0) { // ArrayOopDesc::header_size depends on command line initialization. AlignmentReserve = oopDesc::header_size() > MinObjAlignment ? align_object_size(arrayOopDesc::header_size(T_INT)) : 0; @@ -69,6 +69,7 @@ // will artifically inflate the values in the statistics. _allocated = 0; _wasted = 0; + _undo_wasted = 0; } void ParGCAllocBuffer::retire() {