Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 0 getContractionSize() in MemorySubSpaceGenerational
getContractionSize() in MemorySubSpaceGenerational seems to always be 0. MM_MemorySubSpace::getContractionSize() returns _contractionSize. MM_MemorySubSpaceGenerational::checkResize() calls getMemorySubSpaceOld()->checkResize() which sets the _contractionSize in its _memorySubSpaceOld but not its own. env->_cycleState->_activeSubSpace->getContractionSize() != 0 is checked before calling MM_ParallelGlobalGC::compactRequiredBeforeHeapContraction() in MM_ParallelGlobalGC::sweep(). Signed-off-by: Jason Hall <jasonhal@ca.ibm.com>
- Loading branch information