equal
deleted
inserted
replaced
3861 // cache the system and platform class loaders |
3861 // cache the system and platform class loaders |
3862 SystemDictionary::compute_java_loaders(CHECK_JNI_ERR); |
3862 SystemDictionary::compute_java_loaders(CHECK_JNI_ERR); |
3863 |
3863 |
3864 #if INCLUDE_JVMCI |
3864 #if INCLUDE_JVMCI |
3865 if (EnableJVMCI) { |
3865 if (EnableJVMCI) { |
3866 // Initialize JVMCI eagerly if JVMCIPrintProperties is enabled. |
3866 // Initialize JVMCI eagerly when it is explicitly requested. |
|
3867 // Or when JVMCIPrintProperties is enabled. |
3867 // The JVMCI Java initialization code will read this flag and |
3868 // The JVMCI Java initialization code will read this flag and |
3868 // do the printing if it's set. |
3869 // do the printing if it's set. |
3869 bool init = JVMCIPrintProperties; |
3870 bool init = EagerJVMCI || JVMCIPrintProperties; |
3870 |
3871 |
3871 if (!init) { |
3872 if (!init) { |
3872 // 8145270: Force initialization of JVMCI runtime otherwise requests for blocking |
3873 // 8145270: Force initialization of JVMCI runtime otherwise requests for blocking |
3873 // compilations via JVMCI will not actually block until JVMCI is initialized. |
3874 // compilations via JVMCI will not actually block until JVMCI is initialized. |
3874 init = UseJVMCICompiler && (!UseInterpreter || !BackgroundCompilation); |
3875 init = UseJVMCICompiler && (!UseInterpreter || !BackgroundCompilation); |