Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 20730:8210e5f2e21b
8044269: Analysis of archive files.
Summary: Add checksum verification.
Reviewed-by: iklam, dholmes, mschoene
author | jiangli |
---|---|
date | Tue, 12 Aug 2014 17:46:16 -0400 |
parents | 54bc75c144b0 |
children | eaf39a954227 8cb56c8cb30d cc74ca225166 9c5134750f1d |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Aug 08 15:15:52 2014 -0700 +++ b/src/share/vm/runtime/arguments.cpp Tue Aug 12 17:46:16 2014 -0400 @@ -3581,6 +3581,11 @@ return JNI_ENOMEM; } + // Set up VerifySharedSpaces + if (FLAG_IS_DEFAULT(VerifySharedSpaces) && SharedArchiveFile != NULL) { + VerifySharedSpaces = true; + } + // Delay warning until here so that we've had a chance to process // the -XX:-PrintWarnings flag if (needs_hotspotrc_warning) {