Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/filemap.cpp @ 20700:0558eb13dcf3
8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid
Summary: in FileMapInfo::fail_continue do not set UseSharedSpaces = false
Reviewed-by: dholmes, ccheung
author | iklam |
---|---|
date | Thu, 04 Dec 2014 15:20:09 -0800 |
parents | 8cb56c8cb30d |
children |
line wrap: on
line diff
--- a/src/share/vm/memory/filemap.cpp Fri Dec 05 10:04:37 2014 -0800 +++ b/src/share/vm/memory/filemap.cpp Thu Dec 04 15:20:09 2014 -0800 @@ -97,11 +97,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.