equal
deleted
inserted
replaced
2147 void SystemDictionary::initialize_preloaded_classes(TRAPS) { |
2147 void SystemDictionary::initialize_preloaded_classes(TRAPS) { |
2148 assert(WK_KLASS(Object_klass) == NULL, "preloaded classes should only be initialized once"); |
2148 assert(WK_KLASS(Object_klass) == NULL, "preloaded classes should only be initialized once"); |
2149 |
2149 |
2150 // Create the ModuleEntry for java.base. This call needs to be done here, |
2150 // Create the ModuleEntry for java.base. This call needs to be done here, |
2151 // after vmSymbols::initialize() is called but before any classes are pre-loaded. |
2151 // after vmSymbols::initialize() is called but before any classes are pre-loaded. |
2152 ClassLoader::create_javabase(); |
2152 ClassLoader::classLoader_init2(CHECK); |
2153 |
2153 |
2154 // Preload commonly used klasses |
2154 // Preload commonly used klasses |
2155 WKID scan = FIRST_WKID; |
2155 WKID scan = FIRST_WKID; |
2156 // first do Object, then String, Class |
2156 // first do Object, then String, Class |
2157 if (UseSharedSpaces) { |
2157 if (UseSharedSpaces) { |