Mercurial > hg > graal-compiler
diff src/share/vm/memory/defNewGeneration.cpp @ 3799:48048b59a551
7061204: clean the chunk table synchronously in embedded builds
Reviewed-by: dholmes, never, jwilhelm, kvn
author | jcoomes |
---|---|
date | Wed, 06 Jul 2011 12:28:07 -0700 |
parents | 74ee0db180fa |
children | f08d439fab8c |
line wrap: on
line diff
--- a/src/share/vm/memory/defNewGeneration.cpp Wed Jul 06 12:22:29 2011 -0700 +++ b/src/share/vm/memory/defNewGeneration.cpp Wed Jul 06 12:28:07 2011 -0700 @@ -905,6 +905,10 @@ to()->check_mangled_unused_area_complete(); } + if (!CleanChunkPoolAsync) { + Chunk::clean_chunk_pool(); + } + // update the generation and space performance counters update_counters(); gch->collector_policy()->counters()->update_counters();