src/share/vm/memory/metaspace.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/memory/metaspace.cpp	Mon Oct 31 17:46:56 2016
--- new/src/share/vm/memory/metaspace.cpp	Mon Oct 31 17:46:56 2016

*** 46,55 **** --- 46,56 ---- #include "services/memTracker.hpp" #include "services/memoryService.hpp" #include "utilities/copy.hpp" #include "utilities/debug.hpp" #include "utilities/macros.hpp" + #include "aot/aotLoader.hpp" typedef BinaryTreeDictionary<Metablock, FreeList<Metablock> > BlockTreeDictionary; typedef BinaryTreeDictionary<Metachunk, FreeList<Metachunk> > ChunkTreeDictionary; // Set this constant to enable slow integrity checking of the free chunk lists
*** 3010,3019 **** --- 3011,3021 ---- Universe::set_narrow_klass_shift(0); } else { assert(!UseSharedSpaces, "Cannot shift with UseSharedSpaces"); Universe::set_narrow_klass_shift(LogKlassAlignmentInBytes); } + AOTLoader::set_narrow_klass_shift(); } #if INCLUDE_CDS // Return TRUE if the specified metaspace_base and cds_base are close enough // to work with compressed klass pointers.

src/share/vm/memory/metaspace.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File