< prev index next >

src/share/vm/runtime/thread.cpp

Print this page




3613     create_vm_init_libraries();
3614   }
3615 
3616   // Notify JVMTI agents that VM initialization is complete - nop if no agents.
3617   JvmtiExport::post_vm_initialized();
3618 
3619   if (TRACE_START() != JNI_OK) {
3620     vm_exit_during_initialization("Failed to start tracing backend.");
3621   }
3622 
3623   if (CleanChunkPoolAsync) {
3624     Chunk::start_chunk_pool_cleaner_task();
3625   }
3626 
3627 #if INCLUDE_JVMCI
3628   if (EnableJVMCI) {
3629     const char* jvmciCompiler = Arguments::PropertyList_get_value(Arguments::system_properties(), "jvmci.compiler");
3630     if (jvmciCompiler != NULL) {
3631       JVMCIRuntime::save_compiler(jvmciCompiler);
3632     }

3633   }
3634 #endif // INCLUDE_JVMCI
3635 
3636   // initialize compiler(s)
3637 #if defined(COMPILER1) || defined(COMPILER2) || defined(SHARK) || INCLUDE_JVMCI
3638   CompileBroker::compilation_init();
3639 #endif
3640 
3641   // Pre-initialize some JSR292 core classes to avoid deadlock during class loading.
3642   // It is done after compilers are initialized, because otherwise compilations of
3643   // signature polymorphic MH intrinsics can be missed
3644   // (see SystemDictionary::find_method_handle_intrinsic).
3645   initialize_jsr292_core_classes(CHECK_JNI_ERR);
3646 
3647 #if INCLUDE_MANAGEMENT
3648   Management::initialize(THREAD);
3649 
3650   if (HAS_PENDING_EXCEPTION) {
3651     // management agent fails to start possibly due to
3652     // configuration problem and is responsible for printing




3613     create_vm_init_libraries();
3614   }
3615 
3616   // Notify JVMTI agents that VM initialization is complete - nop if no agents.
3617   JvmtiExport::post_vm_initialized();
3618 
3619   if (TRACE_START() != JNI_OK) {
3620     vm_exit_during_initialization("Failed to start tracing backend.");
3621   }
3622 
3623   if (CleanChunkPoolAsync) {
3624     Chunk::start_chunk_pool_cleaner_task();
3625   }
3626 
3627 #if INCLUDE_JVMCI
3628   if (EnableJVMCI) {
3629     const char* jvmciCompiler = Arguments::PropertyList_get_value(Arguments::system_properties(), "jvmci.compiler");
3630     if (jvmciCompiler != NULL) {
3631       JVMCIRuntime::save_compiler(jvmciCompiler);
3632     }
3633     JVMCIRuntime::maybe_print_flags(CHECK_JNI_ERR);
3634   }
3635 #endif // INCLUDE_JVMCI
3636 
3637   // initialize compiler(s)
3638 #if defined(COMPILER1) || defined(COMPILER2) || defined(SHARK) || INCLUDE_JVMCI
3639   CompileBroker::compilation_init();
3640 #endif
3641 
3642   // Pre-initialize some JSR292 core classes to avoid deadlock during class loading.
3643   // It is done after compilers are initialized, because otherwise compilations of
3644   // signature polymorphic MH intrinsics can be missed
3645   // (see SystemDictionary::find_method_handle_intrinsic).
3646   initialize_jsr292_core_classes(CHECK_JNI_ERR);
3647 
3648 #if INCLUDE_MANAGEMENT
3649   Management::initialize(THREAD);
3650 
3651   if (HAS_PENDING_EXCEPTION) {
3652     // management agent fails to start possibly due to
3653     // configuration problem and is responsible for printing


< prev index next >