hotspot/src/share/vm/memory/filemap.cpp
changeset 28017 84009002b566
parent 27880 afb974a04396
child 28023 a4075664328d
--- a/hotspot/src/share/vm/memory/filemap.cpp	Thu Dec 04 16:16:01 2014 +0000
+++ b/hotspot/src/share/vm/memory/filemap.cpp	Thu Dec 04 15:20:09 2014 -0800
@@ -98,11 +98,11 @@
         tty->print_cr("UseSharedSpaces: %s", msg);
       }
     }
+    UseSharedSpaces = false;
+    assert(current_info() != NULL, "singleton must be registered");
+    current_info()->close();
   }
   va_end(ap);
-  UseSharedSpaces = false;
-  assert(current_info() != NULL, "singleton must be registered");
-  current_info()->close();
 }
 
 // Fill in the fileMapInfo structure with data about this VM instance.