Mercurial > hg > truffle
comparison src/share/vm/memory/filemap.cpp @ 14659:ff056d90e349
8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
Summary: Added message to indicate when sharing was attempted but failed
Reviewed-by: coleenp, ctornqvi
author | mseledtsov |
---|---|
date | Wed, 05 Mar 2014 12:31:09 -0500 |
parents | 35b99e7e0af2 |
children | 92aa6797d639 |
comparison
equal
deleted
inserted
replaced
14658:d72cee0607a3 | 14659:ff056d90e349 |
---|---|
76 void FileMapInfo::fail_continue(const char *msg, ...) { | 76 void FileMapInfo::fail_continue(const char *msg, ...) { |
77 va_list ap; | 77 va_list ap; |
78 va_start(ap, msg); | 78 va_start(ap, msg); |
79 if (RequireSharedSpaces) { | 79 if (RequireSharedSpaces) { |
80 fail(msg, ap); | 80 fail(msg, ap); |
81 } else { | |
82 if (PrintSharedSpaces) { | |
83 tty->print_cr("UseSharedSpaces: %s", msg); | |
84 } | |
81 } | 85 } |
82 va_end(ap); | 86 va_end(ap); |
83 UseSharedSpaces = false; | 87 UseSharedSpaces = false; |
84 close(); | 88 close(); |
85 } | 89 } |