hotspot/src/share/vm/runtime/thread.cpp
changeset 40034 4a288aaf8511
parent 39391 b9bb367ccb85
child 40074 135bb8aa1e18
equal deleted inserted replaced
40032:bc2e42cd23ea 40034:4a288aaf8511
  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 #if INCLUDE_JVMCI
       
  3774   if (EnableJVMCI && UseJVMCICompiler && (!UseInterpreter || !BackgroundCompilation)) {
       
  3775     // 8145270: Force initialization of JVMCI runtime otherwise requests for blocking
       
  3776     // compilations via JVMCI will not actually block until JVMCI is initialized.
       
  3777     JVMCIRuntime::force_initialization(CHECK_JNI_ERR);
       
  3778   }
       
  3779 #endif
  3773   // cache the system class loader
  3780   // cache the system class loader
  3774   SystemDictionary::compute_java_system_loader(CHECK_(JNI_ERR));
  3781   SystemDictionary::compute_java_system_loader(CHECK_(JNI_ERR));
  3775 
  3782 
  3776   // Always call even when there are not JVMTI environments yet, since environments
  3783   // Always call even when there are not JVMTI environments yet, since environments
  3777   // may be attached late and JVMTI must track phases of VM execution
  3784   // may be attached late and JVMTI must track phases of VM execution