Mercurial > hg > truffle
comparison src/share/vm/memory/genCollectedHeap.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 | c9ca3f51cf41 |
children | c2bf0120ee5d |
comparison
equal
deleted
inserted
replaced
3798:65dba8692db7 | 3799:48048b59a551 |
---|---|
1382 | 1382 |
1383 GenGCEpilogueClosure blk(full); | 1383 GenGCEpilogueClosure blk(full); |
1384 generation_iterate(&blk, false); // not old-to-young. | 1384 generation_iterate(&blk, false); // not old-to-young. |
1385 perm_gen()->gc_epilogue(full); | 1385 perm_gen()->gc_epilogue(full); |
1386 | 1386 |
1387 if (!CleanChunkPoolAsync) { | |
1388 Chunk::clean_chunk_pool(); | |
1389 } | |
1390 | |
1387 always_do_update_barrier = UseConcMarkSweepGC; | 1391 always_do_update_barrier = UseConcMarkSweepGC; |
1388 }; | 1392 }; |
1389 | 1393 |
1390 #ifndef PRODUCT | 1394 #ifndef PRODUCT |
1391 class GenGCSaveTopsBeforeGCClosure: public GenCollectedHeap::GenClosure { | 1395 class GenGCSaveTopsBeforeGCClosure: public GenCollectedHeap::GenClosure { |