< prev index next >

src/hotspot/share/memory/metaspaceShared.cpp

Print this page

        

*** 331,341 **** void MetaspaceShared::post_initialize(TRAPS) { if (UseSharedSpaces) { int size = FileMapInfo::get_number_of_shared_paths(); if (size > 0) { SystemDictionaryShared::allocate_shared_data_arrays(size, THREAD); ! FileMapInfo::FileMapHeader* header = FileMapInfo::current_info()->header(); ClassLoaderExt::init_paths_start_index(header->_app_class_paths_start_index); ClassLoaderExt::init_app_module_paths_start_index(header->_app_module_paths_start_index); } } --- 331,341 ---- void MetaspaceShared::post_initialize(TRAPS) { if (UseSharedSpaces) { int size = FileMapInfo::get_number_of_shared_paths(); if (size > 0) { SystemDictionaryShared::allocate_shared_data_arrays(size, THREAD); ! FileMapHeader* header = FileMapInfo::current_info()->header(); ClassLoaderExt::init_paths_start_index(header->_app_class_paths_start_index); ClassLoaderExt::init_app_module_paths_start_index(header->_app_module_paths_start_index); } }
< prev index next >