mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
7066063: CMS: "Conservation Principle" assert failed
Add call to coalBirth() in CompactibleFreeListSpace::reset() Reviewed-by: ysr, jmasa
This commit is contained in:
parent
47c64fb0c3
commit
8d3d35b861
1 changed files with 1 additions and 0 deletions
|
@ -285,6 +285,7 @@ void CompactibleFreeListSpace::reset(MemRegion mr) {
|
||||||
_bt.verify_not_unallocated((HeapWord*)fc, fc->size());
|
_bt.verify_not_unallocated((HeapWord*)fc, fc->size());
|
||||||
_indexedFreeList[mr.word_size()].return_chunk_at_head(fc);
|
_indexedFreeList[mr.word_size()].return_chunk_at_head(fc);
|
||||||
}
|
}
|
||||||
|
coalBirth(mr.word_size());
|
||||||
}
|
}
|
||||||
_promoInfo.reset();
|
_promoInfo.reset();
|
||||||
_smallLinearAllocBlock._ptr = NULL;
|
_smallLinearAllocBlock._ptr = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue