Skip to content

Commit f7dc257

Browse files
committed
8322321: Add man page doc for -XX:+VerifySharedSpaces
Reviewed-by: dholmes, ccheung
1 parent 97db670 commit f7dc257

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
@@ -1579,6 +1579,15 @@ Specifies the path and name of the class data sharing (CDS) archive file
15791579
See \f[B]Application Class Data Sharing\f[R].
15801580
.RE
15811581
.TP
1582+
\f[V]-XX:+VerifySharedSpaces\f[R]
1583+
If this option is specified, the JVM will load a CDS archive file only
1584+
if it passes an integrity check based on CRC32 checksums.
1585+
The purpose of this flag is to check for unintentional damage to CDS
1586+
archive files in transmission or storage.
1587+
To guarantee the security and proper operation of CDS, the user must
1588+
ensure that the CDS archive files used by Java applications cannot be
1589+
modified without proper authorization.
1590+
.TP
15821591
\f[V]-XX:SharedArchiveConfigFile=\f[R]\f[I]shared_config_file\f[R]
15831592
Specifies additional shared data added to the archive file.
15841593
.TP

0 commit comments

Comments
 (0)