--- 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.