src/hotspot/share/memory/metaspaceShared.cpp
changeset 49739 00805b129186
parent 49594 898ef81cbc0e
child 49769 b8c9bec06921
--- a/src/hotspot/share/memory/metaspaceShared.cpp	Tue Apr 10 10:06:42 2018 -0400
+++ b/src/hotspot/share/memory/metaspaceShared.cpp	Tue Apr 10 11:43:40 2018 -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().