1.1 --- a/src/share/vm/runtime/thread.cpp Wed Jul 06 12:22:29 2011 -0700 1.2 +++ b/src/share/vm/runtime/thread.cpp Wed Jul 06 12:28:07 2011 -0700 1.3 @@ -3347,7 +3347,9 @@ 1.4 // Notify JVMTI agents that VM initialization is complete - nop if no agents. 1.5 JvmtiExport::post_vm_initialized(); 1.6 1.7 - Chunk::start_chunk_pool_cleaner_task(); 1.8 + if (CleanChunkPoolAsync) { 1.9 + Chunk::start_chunk_pool_cleaner_task(); 1.10 + } 1.11 1.12 // initialize compiler(s) 1.13 CompileBroker::compilation_init();