--- old/src/hotspot/share/memory/metaspace.cpp 2018-10-25 11:11:31.513441287 -0700 +++ new/src/hotspot/share/memory/metaspace.cpp 2018-10-25 11:11:31.265431829 -0700 @@ -1083,7 +1083,7 @@ #if INCLUDE_CDS // Verify that we can use shared spaces. Otherwise, turn off CDS. if (UseSharedSpaces && !can_use_cds_with_metaspace_addr(metaspace_rs.base(), cds_base)) { - FileMapInfo::stop_sharing_and_unmap( + MetaspaceShared::stop_sharing_and_unmap( "Could not allocate metaspace at a compatible address"); } #endif