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:
parent
4b9933a012
commit
eedf369513
@ -78,6 +78,10 @@ void FileMapInfo::fail_continue(const char *msg, ...) {
|
|||||||
va_start(ap, msg);
|
va_start(ap, msg);
|
||||||
if (RequireSharedSpaces) {
|
if (RequireSharedSpaces) {
|
||||||
fail(msg, ap);
|
fail(msg, ap);
|
||||||
|
} else {
|
||||||
|
if (PrintSharedSpaces) {
|
||||||
|
tty->print_cr("UseSharedSpaces: %s", msg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
UseSharedSpaces = false;
|
UseSharedSpaces = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user