7061204: clean the chunk table synchronously in embedded builds

Reviewed-by: dholmes, never, jwilhelm, kvn
This commit is contained in:
John Coomes 2011-07-06 12:28:07 -07:00
parent c76b491afb
commit 73687afa5e
5 changed files with 18 additions and 1 deletions

View file

@ -2716,6 +2716,10 @@ void CMSCollector::gc_epilogue(bool full) {
bitMapLock()->unlock();
releaseFreelistLocks();
if (!CleanChunkPoolAsync) {
Chunk::clean_chunk_pool();
}
_between_prologue_and_epilogue = false; // ready for next cycle
}