mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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);
|
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…
Add table
Add a link
Reference in a new issue