3768 JvmtiExport::post_vm_start(); |
3768 JvmtiExport::post_vm_start(); |
3769 |
3769 |
3770 // Final system initialization including security manager and system class loader |
3770 // Final system initialization including security manager and system class loader |
3771 call_initPhase3(CHECK_JNI_ERR); |
3771 call_initPhase3(CHECK_JNI_ERR); |
3772 |
3772 |
|
3773 // cache the system class loader |
|
3774 SystemDictionary::compute_java_system_loader(CHECK_(JNI_ERR)); |
|
3775 |
3773 #if INCLUDE_JVMCI |
3776 #if INCLUDE_JVMCI |
3774 if (EnableJVMCI && UseJVMCICompiler && (!UseInterpreter || !BackgroundCompilation)) { |
3777 if (EnableJVMCI && UseJVMCICompiler && (!UseInterpreter || !BackgroundCompilation)) { |
3775 // 8145270: Force initialization of JVMCI runtime otherwise requests for blocking |
3778 // 8145270: Force initialization of JVMCI runtime otherwise requests for blocking |
3776 // compilations via JVMCI will not actually block until JVMCI is initialized. |
3779 // compilations via JVMCI will not actually block until JVMCI is initialized. |
3777 JVMCIRuntime::force_initialization(CHECK_JNI_ERR); |
3780 JVMCIRuntime::force_initialization(CHECK_JNI_ERR); |
3778 } |
3781 } |
3779 #endif |
3782 #endif |
3780 // cache the system class loader |
|
3781 SystemDictionary::compute_java_system_loader(CHECK_(JNI_ERR)); |
|
3782 |
3783 |
3783 // Always call even when there are not JVMTI environments yet, since environments |
3784 // Always call even when there are not JVMTI environments yet, since environments |
3784 // may be attached late and JVMTI must track phases of VM execution |
3785 // may be attached late and JVMTI must track phases of VM execution |
3785 JvmtiExport::enter_live_phase(); |
3786 JvmtiExport::enter_live_phase(); |
3786 |
3787 |