hotspot/src/share/vm/memory/genCollectedHeap.cpp
changeset 10022 377345fb5fb5
parent 9997 b75b7939f448
child 10524 6594ca81279a
--- a/hotspot/src/share/vm/memory/genCollectedHeap.cpp	Wed Jul 06 12:22:29 2011 -0700
+++ b/hotspot/src/share/vm/memory/genCollectedHeap.cpp	Wed Jul 06 12:28:07 2011 -0700
@@ -1384,6 +1384,10 @@
   generation_iterate(&blk, false);  // not old-to-young.
   perm_gen()->gc_epilogue(full);
 
+  if (!CleanChunkPoolAsync) {
+    Chunk::clean_chunk_pool();
+  }
+
   always_do_update_barrier = UseConcMarkSweepGC;
 };