equal
deleted
inserted
replaced
331 void MetaspaceShared::post_initialize(TRAPS) { |
331 void MetaspaceShared::post_initialize(TRAPS) { |
332 if (UseSharedSpaces) { |
332 if (UseSharedSpaces) { |
333 int size = FileMapInfo::get_number_of_shared_paths(); |
333 int size = FileMapInfo::get_number_of_shared_paths(); |
334 if (size > 0) { |
334 if (size > 0) { |
335 SystemDictionaryShared::allocate_shared_data_arrays(size, THREAD); |
335 SystemDictionaryShared::allocate_shared_data_arrays(size, THREAD); |
336 FileMapInfo::FileMapHeader* header = FileMapInfo::current_info()->header(); |
336 FileMapHeader* header = FileMapInfo::current_info()->header(); |
337 ClassLoaderExt::init_paths_start_index(header->_app_class_paths_start_index); |
337 ClassLoaderExt::init_paths_start_index(header->_app_class_paths_start_index); |
338 ClassLoaderExt::init_app_module_paths_start_index(header->_app_module_paths_start_index); |
338 ClassLoaderExt::init_app_module_paths_start_index(header->_app_module_paths_start_index); |
339 } |
339 } |
340 } |
340 } |
341 |
341 |