mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
7061204: clean the chunk table synchronously in embedded builds
Reviewed-by: dholmes, never, jwilhelm, kvn
This commit is contained in:
parent
c76b491afb
commit
73687afa5e
5 changed files with 18 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue