8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)

Added message to indicate when sharing was attempted but failed

Reviewed-by: coleenp, ctornqvi
This commit is contained in:
Mikhailo Seledtsov 2014-03-05 12:31:09 -05:00
parent 4b9933a012
commit eedf369513

View File

@ -78,6 +78,10 @@ void FileMapInfo::fail_continue(const char *msg, ...) {
va_start(ap, msg);
if (RequireSharedSpaces) {
fail(msg, ap);
} else {
if (PrintSharedSpaces) {
tty->print_cr("UseSharedSpaces: %s", msg);
}
}
va_end(ap);
UseSharedSpaces = false;