src/hotspot/share/memory/metaspaceShared.cpp
changeset 51477 e77d7687c831
parent 51444 3e5d28e6de32
child 51491 187c84a5efe1
equal deleted inserted replaced
51476:6c0ac4b4d761 51477:e77d7687c831
   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