hotspot/src/share/vm/runtime/init.cpp
changeset 13728 882756847a04
parent 13087 673ea6efaf18
child 13975 2f7431485cfa
--- a/hotspot/src/share/vm/runtime/init.cpp	Fri Aug 31 16:39:35 2012 -0700
+++ b/hotspot/src/share/vm/runtime/init.cpp	Sat Sep 01 13:25:18 2012 -0400
@@ -94,12 +94,13 @@
   management_init();
   bytecodes_init();
   classLoader_init();
+  Metaspace::global_initialize(); // must be before codeCache
   codeCache_init();
   VM_Version_init();
   os_init_globals();
   stubRoutines_init1();
   jint status = universe_init();  // dependent on codeCache_init and
-                                  // stubRoutines_init1
+                                  // stubRoutines_init1 and metaspace_init.
   if (status != JNI_OK)
     return status;