8185694: Replace SystemDictionaryShared::_java_platform_loader with SystemDictionary::is_platform_class_loader()

Added the creation of _java_platform_loader

Reviewed-by: iklam, coleenp, mchung, dholmes, jiangli
This commit is contained in:
Calvin Cheung 2017-10-10 14:38:56 -07:00
parent 4c1297b778
commit 449114a4f6
4 changed files with 30 additions and 11 deletions

View file

@ -3751,8 +3751,8 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
// Final system initialization including security manager and system class loader
call_initPhase3(CHECK_JNI_ERR);
// cache the system class loader
SystemDictionary::compute_java_system_loader(CHECK_(JNI_ERR));
// cache the system and platform class loaders
SystemDictionary::compute_java_loaders(CHECK_JNI_ERR);
#if INCLUDE_JVMCI
if (EnableJVMCI) {