< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page




3796   quicken_jni_functions();
3797 
3798   // No more stub generation allowed after that point.
3799   StubCodeDesc::freeze();
3800 
3801   // Set flag that basic initialization has completed. Used by exceptions and various
3802   // debug stuff, that does not work until all basic classes have been initialized.
3803   set_init_completed();
3804 
3805   LogConfiguration::post_initialize();
3806   Metaspace::post_initialize();
3807 
3808   HOTSPOT_VM_INIT_END();
3809 
3810   // record VM initialization completion time
3811 #if INCLUDE_MANAGEMENT
3812   Management::record_vm_init_completed();
3813 #endif // INCLUDE_MANAGEMENT
3814 
3815   // Signal Dispatcher needs to be started before VMInit event is posted
3816   os::signal_init(CHECK_JNI_ERR);
3817 
3818   // Start Attach Listener if +StartAttachListener or it can't be started lazily
3819   if (!DisableAttachMechanism) {
3820     AttachListener::vm_start();
3821     if (StartAttachListener || AttachListener::init_at_startup()) {
3822       AttachListener::init();
3823     }
3824   }
3825 
3826   // Launch -Xrun agents
3827   // Must be done in the JVMTI live phase so that for backward compatibility the JDWP
3828   // back-end can launch with -Xdebug -Xrunjdwp.
3829   if (!EagerXrunInit && Arguments::init_libraries_at_startup()) {
3830     create_vm_init_libraries();
3831   }
3832 
3833   if (CleanChunkPoolAsync) {
3834     Chunk::start_chunk_pool_cleaner_task();
3835   }
3836 




3796   quicken_jni_functions();
3797 
3798   // No more stub generation allowed after that point.
3799   StubCodeDesc::freeze();
3800 
3801   // Set flag that basic initialization has completed. Used by exceptions and various
3802   // debug stuff, that does not work until all basic classes have been initialized.
3803   set_init_completed();
3804 
3805   LogConfiguration::post_initialize();
3806   Metaspace::post_initialize();
3807 
3808   HOTSPOT_VM_INIT_END();
3809 
3810   // record VM initialization completion time
3811 #if INCLUDE_MANAGEMENT
3812   Management::record_vm_init_completed();
3813 #endif // INCLUDE_MANAGEMENT
3814 
3815   // Signal Dispatcher needs to be started before VMInit event is posted
3816   os::initialize_jdk_signal_support(CHECK_JNI_ERR);
3817 
3818   // Start Attach Listener if +StartAttachListener or it can't be started lazily
3819   if (!DisableAttachMechanism) {
3820     AttachListener::vm_start();
3821     if (StartAttachListener || AttachListener::init_at_startup()) {
3822       AttachListener::init();
3823     }
3824   }
3825 
3826   // Launch -Xrun agents
3827   // Must be done in the JVMTI live phase so that for backward compatibility the JDWP
3828   // back-end can launch with -Xdebug -Xrunjdwp.
3829   if (!EagerXrunInit && Arguments::init_libraries_at_startup()) {
3830     create_vm_init_libraries();
3831   }
3832 
3833   if (CleanChunkPoolAsync) {
3834     Chunk::start_chunk_pool_cleaner_task();
3835   }
3836 


< prev index next >