Mercurial > hg > graal-compiler
diff src/share/vm/runtime/thread.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 | ef2d1b8f2dd4 |
children | c124e2e7463e |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Wed Jul 06 12:22:29 2011 -0700 +++ b/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();