hotspot/src/share/vm/memory/metaspace.cpp
changeset 42650 1f304d0c888b
parent 42621 f2598e832afa
child 46324 8764956ec928
--- a/hotspot/src/share/vm/memory/metaspace.cpp	Sun Dec 11 12:05:57 2016 -0800
+++ b/hotspot/src/share/vm/memory/metaspace.cpp	Sun Dec 11 19:07:04 2016 -0800
@@ -22,6 +22,7 @@
  *
  */
 #include "precompiled.hpp"
+#include "aot/aotLoader.hpp"
 #include "gc/shared/collectedHeap.hpp"
 #include "gc/shared/collectorPolicy.hpp"
 #include "gc/shared/gcLocker.hpp"
@@ -3043,6 +3044,7 @@
     assert(!UseSharedSpaces, "Cannot shift with UseSharedSpaces");
     Universe::set_narrow_klass_shift(LogKlassAlignmentInBytes);
   }
+  AOTLoader::set_narrow_klass_shift();
 }
 
 #if INCLUDE_CDS