Skip to content

Commit 1425971

Browse files
author
Jonathan Dowland
committed
8322321: Add man page doc for -XX:+VerifySharedSpaces
Reviewed-by: shade Backport-of: f7dc257a206d3104d6d24c2079ef1fe349368c49
1 parent 5b2aec6 commit 1425971

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/java.base/share/man/java.1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,6 +1642,15 @@ Specifies the path and name of the class data sharing (CDS) archive file
16421642
See \f[B]Application Class Data Sharing\f[R].
16431643
.RE
16441644
.TP
1645+
\f[V]-XX:+VerifySharedSpaces\f[R]
1646+
If this option is specified, the JVM will load a CDS archive file only
1647+
if it passes an integrity check based on CRC32 checksums.
1648+
The purpose of this flag is to check for unintentional damage to CDS
1649+
archive files in transmission or storage.
1650+
To guarantee the security and proper operation of CDS, the user must
1651+
ensure that the CDS archive files used by Java applications cannot be
1652+
modified without proper authorization.
1653+
.TP
16451654
.B \f[CB]\-XX:SharedArchiveConfigFile\f[R]=\f[I]shared_config_file\f[R]
16461655
Specifies additional shared data added to the archive file.
16471656
.RS

0 commit comments

Comments
 (0)