RFR: 8322321: Add man page doc for -XX:+VerifySharedSpaces

David Holmes dholmes at openjdk.org
Tue Dec 19 22:22:48 UTC 2023


On Tue, 19 Dec 2023 06:19:15 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> `VerifySharedSpaces` was disabled in [JDK-8221478](https://bugs.openjdk.org/browse/JDK-8221478) by default. We should add an entry in the "java" man page about the intended use for this flag.

Text is generally fine. A couple of typos need fixing.

src/java.base/share/man/java.1 line 1584:

> 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 checkums.

typo: checkums

src/java.base/share/man/java.1 line 1585:

> 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 checkums.
> 1585: The purpose of this flag is to check for unintentional damages of CDS

s/damages of/damage to/

-------------

Changes requested by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17152#pullrequestreview-1789795401
PR Review Comment: https://git.openjdk.org/jdk/pull/17152#discussion_r1431990128
PR Review Comment: https://git.openjdk.org/jdk/pull/17152#discussion_r1431990558


More information about the hotspot-dev mailing list