mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
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
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue