--- old/src/share/vm/memory/defNewGeneration.cpp 2014-10-17 16:16:02.000000000 +0200 +++ new/src/share/vm/memory/defNewGeneration.cpp 2014-10-17 16:16:02.000000000 +0200 @@ -854,7 +854,9 @@ void DefNewGeneration::contribute_scratch(ScratchBlock*& list, Generation* requestor, size_t max_alloc_words) { - if (requestor == this || _promotion_failed) return; + if (requestor == this || _promotion_failed) { + return; + } assert(requestor == GenCollectedHeap::heap()->old_gen(), "We should not call our own generation"); /* $$$ Assert this? "trace" is a "MarkSweep" function so that's not appropriate.