src/share/vm/memory/defNewGeneration.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/memory/defNewGeneration.cpp	Fri Oct 17 16:16:02 2014
--- new/src/share/vm/memory/defNewGeneration.cpp	Fri Oct 17 16:16:02 2014

*** 852,862 **** --- 852,864 ---- #undef DefNew_SINCE_SAVE_MARKS_DEFN 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. if (to_space->top() > to_space->bottom()) { trace("to_space not empty when contribute_scratch called");

src/share/vm/memory/defNewGeneration.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File