< prev index next >

src/hotspot/share/classfile/vmClasses.cpp

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

@@ -217,10 +218,11 @@
      }
    }
  #endif
  
    InstanceStackChunkKlass::init_offset_of_stack();
+   ClassPrelinker::runtime_preload(THREAD, Handle()); // load only java.base classes
  }
  
  #if INCLUDE_CDS
  
  void vmClasses::resolve_shared_class(InstanceKlass* klass, ClassLoaderData* loader_data, Handle domain, TRAPS) {
< prev index next >