Skip to content

Commit

Permalink
8322321: Add man page doc for -XX:+VerifySharedSpaces
Browse files Browse the repository at this point in the history
Backport-of: f7dc257a206d3104d6d24c2079ef1fe349368c49
  • Loading branch information
shipilev committed Jan 5, 2024
1 parent 5f2cf88 commit 579c56f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/java.base/share/man/java.1
Expand Up @@ -1565,6 +1565,15 @@ Specifies the path and name of the class data sharing (CDS) archive file
See \f[B]Application Class Data Sharing\f[R].
.RE
.TP
\f[V]-XX:+VerifySharedSpaces\f[R]
If this option is specified, the JVM will load a CDS archive file only
if it passes an integrity check based on CRC32 checksums.
The purpose of this flag is to check for unintentional damage to CDS
archive files in transmission or storage.
To guarantee the security and proper operation of CDS, the user must
ensure that the CDS archive files used by Java applications cannot be
modified without proper authorization.
.TP
\f[V]-XX:SharedArchiveConfigFile=\f[R]\f[I]shared_config_file\f[R]
Specifies additional shared data added to the archive file.
.TP
Expand Down

1 comment on commit 579c56f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.