--- old/src/hotspot/share/memory/metaspaceShared.cpp 2018-04-02 14:11:46.831655978 -0700 +++ new/src/hotspot/share/memory/metaspaceShared.cpp 2018-04-02 14:11:46.557630157 -0700 @@ -1619,7 +1619,6 @@ void MetaspaceShared::prepare_for_dumping() { Arguments::check_unsupported_dumping_properties(); ClassLoader::initialize_shared_path(); - FileMapInfo::allocate_classpath_entry_table(); } // Preload classes from a list, populate the shared spaces and dump to a @@ -2001,7 +2000,7 @@ (md_base = mapinfo->map_region(md, &md_top)) != NULL && (od_base = mapinfo->map_region(od, &od_top)) != NULL && (image_alignment == (size_t)os::vm_allocation_granularity()) && - mapinfo->validate_classpath_entry_table()) { + mapinfo->validate_shared_path_table()) { // Success -- set up MetaspaceObj::_shared_metaspace_{base,top} for // fast checking in MetaspaceShared::is_in_shared_metaspace() and // MetaspaceObj::is_shared().