7061204: clean the chunk table synchronously in embedded builds

Reviewed-by: dholmes, never, jwilhelm, kvn
This commit is contained in:
John Coomes 2011-07-06 12:28:07 -07:00
parent c76b491afb
commit 73687afa5e
5 changed files with 18 additions and 1 deletions

View file

@ -3347,7 +3347,9 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
// 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();