--- old/src/share/vm/gc/cms/parNewGeneration.cpp 2015-08-17 17:07:17.309839200 +0200 +++ new/src/share/vm/gc/cms/parNewGeneration.cpp 2015-08-17 17:07:17.230836835 +0200 @@ -248,8 +248,7 @@ } } if (buf_space != NULL) { - plab->set_word_size(buf_size); - plab->set_buf(buf_space); + plab->set_buf(buf_space, buf_size); record_survivor_plab(buf_space, buf_size); obj = plab->allocate_aligned(word_sz, SurvivorAlignmentInBytes); // Note that we cannot compare buf_size < word_sz below