src/share/vm/memory/space.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/memory/space.cpp	Fri Oct 17 15:27:20 2014
--- new/src/share/vm/memory/space.cpp	Fri Oct 17 15:27:20 2014

*** 387,397 **** --- 387,397 ---- while (size > compaction_max_size) { // switch to next compaction space cp->space->set_compaction_top(compact_top); cp->space = cp->space->next_compaction_space(); if (cp->space == NULL) { ! cp->gen = GenCollectedHeap::heap()->prev_gen(cp->gen); ! cp->gen = GenCollectedHeap::heap()->young_gen(); assert(cp->gen != NULL, "compaction must succeed"); cp->space = cp->gen->first_compaction_space(); assert(cp->space != NULL, "generation must have a first compaction space"); } compact_top = cp->space->bottom();

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