src/hotspot/share/memory/filemap.cpp
changeset 52314 e53af5fa0dae
parent 52126 27df68106e57
child 52319 625f6c742392
--- a/src/hotspot/share/memory/filemap.cpp	Mon Oct 29 08:34:33 2018 -0700
+++ b/src/hotspot/share/memory/filemap.cpp	Thu Oct 25 11:23:43 2018 -0700
@@ -1355,6 +1355,8 @@
 
 // Unmap mapped regions of shared space.
 void FileMapInfo::stop_sharing_and_unmap(const char* msg) {
+  MetaspaceObj::set_shared_metaspace_range(NULL, NULL);
+
   FileMapInfo *map_info = FileMapInfo::current_info();
   if (map_info) {
     map_info->fail_continue("%s", msg);