src/share/vm/memory/genMarkSweep.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/memory/genMarkSweep.cpp Wed Aug 20 20:17:05 2014
--- new/src/share/vm/memory/genMarkSweep.cpp Wed Aug 20 20:17:05 2014
*** 158,168 ****
--- 158,168 ----
void GenMarkSweep::allocate_stacks() {
GenCollectedHeap* gch = GenCollectedHeap::heap();
// Scratch request on behalf of oldest generation; will do no
// allocation.
! ScratchBlock* scratch = gch->gather_scratch(gch->_gens[gch->_n_gens-1], 0);
! ScratchBlock* scratch = gch->gather_scratch(gch->get_gen(gch->_n_gens-1), 0);
// $$$ To cut a corner, we'll only use the first scratch block, and then
// revert to malloc.
if (scratch != NULL) {
_preserved_count_max =
src/share/vm/memory/genMarkSweep.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File