changeset 10022 | 377345fb5fb5 |
parent 9992 | 0d82cce3e655 |
child 10508 | 233d2e7c462d |
--- a/hotspot/src/share/vm/runtime/thread.cpp Wed Jul 06 12:22:29 2011 -0700 +++ b/hotspot/src/share/vm/runtime/thread.cpp Wed Jul 06 12:28:07 2011 -0700 @@ -3347,7 +3347,9 @@ // Notify JVMTI agents that VM initialization is complete - nop if no agents. JvmtiExport::post_vm_initialized(); - Chunk::start_chunk_pool_cleaner_task(); + if (CleanChunkPoolAsync) { + Chunk::start_chunk_pool_cleaner_task(); + } // initialize compiler(s) CompileBroker::compilation_init();