Skip to content

Commit 579c56f

Browse files
committed
8322321: Add man page doc for -XX:+VerifySharedSpaces
Backport-of: f7dc257a206d3104d6d24c2079ef1fe349368c49
1 parent 5f2cf88 commit 579c56f

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
@@ -1565,6 +1565,15 @@ Specifies the path and name of the class data sharing (CDS) archive file
15651565
See \f[B]Application Class Data Sharing\f[R].
15661566
.RE
15671567
.TP
1568+
\f[V]-XX:+VerifySharedSpaces\f[R]
1569+
If this option is specified, the JVM will load a CDS archive file only
1570+
if it passes an integrity check based on CRC32 checksums.
1571+
The purpose of this flag is to check for unintentional damage to CDS
1572+
archive files in transmission or storage.
1573+
To guarantee the security and proper operation of CDS, the user must
1574+
ensure that the CDS archive files used by Java applications cannot be
1575+
modified without proper authorization.
1576+
.TP
15681577
\f[V]-XX:SharedArchiveConfigFile=\f[R]\f[I]shared_config_file\f[R]
15691578
Specifies additional shared data added to the archive file.
15701579
.TP

0 commit comments

Comments
 (0)