< prev index next >

src/hotspot/share/classfile/vmClasses.cpp

Print this page
*** 23,10 ***
--- 23,11 ---
   */
  
  #include "precompiled.hpp"
  #include "cds/archiveHeapLoader.hpp"
  #include "cds/cdsConfig.hpp"
+ #include "cds/aotLinkedClassBulkLoader.hpp"
  #include "classfile/classLoader.hpp"
  #include "classfile/classLoaderData.hpp"
  #include "classfile/dictionary.hpp"
  #include "classfile/javaClasses.hpp"
  #include "classfile/systemDictionary.hpp"

*** 208,10 ***
--- 209,13 ---
      }
    }
  #endif
  
    InstanceStackChunkKlass::init_offset_of_stack();
+   if (CDSConfig::is_using_aot_linked_classes()) {
+     AOTLinkedClassBulkLoader::load_javabase_boot_classes(THREAD);
+   }
  }
  
  #if INCLUDE_CDS
  
  void vmClasses::resolve_shared_class(InstanceKlass* klass, ClassLoaderData* loader_data, Handle domain, TRAPS) {
< prev index next >