8066670: PrintSharedArchiveAndExit does not exit the VM when the archive is invalid

In FileMapInfo::fail_continue do not set UseSharedSpaces = false

Reviewed-by: dholmes, ccheung
This commit is contained in:
Ioi Lam 2014-12-04 15:20:09 -08:00
parent a0b9a703fc
commit ea256a978f
3 changed files with 87 additions and 4 deletions

View file

@ -98,11 +98,11 @@ void FileMapInfo::fail_continue(const char *msg, ...) {
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.