hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 40013 943cf01a6b82
parent 40002 156b2dbb0b54
child 40016 bf6fcd467a7b
equal deleted inserted replaced
40012:f69cfe79fe98 40013:943cf01a6b82
  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) {