RFR: 8348890: Fix docs for -XX:AOT* options in java man page
John R Rose
jrose at openjdk.org
Tue Jan 28 21:14:46 UTC 2025
On Tue, 28 Jan 2025 20:31:49 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Some problems in the `-XX:AOT*` docs are found after [JDK-8348515](https://bugs.openjdk.org/browse/JDK-8348515) was integrated. See @rose00 comments in #23287
>
> - The default of `AOTClassLinking` is incorrect
> - "AOTCache" should be changed to "AOT cache" in the descriptive text
> - There are some typos
src/java.base/share/man/java.md line 4014:
> 4012: warm-up performance of Java applications.
> 4013:
> 4014: The Ahead-of-Time Cache (AOT Cache) is a container introduced in JDK 24 for
s/Cache/cache/ here also
src/java.base/share/man/java.md line 4019:
> 4017: artifacts, such as execution profiles and compiled methods.
> 4018:
> 4019: An AOT cache is specific to a combination of the following:
of the following
+application configuration options/data/states/conditions:
(Or something specific like that.)
src/java.base/share/man/java.md line 4025:
> 4023: - A particular OS and CPU architecture.
> 4024:
> 4025: If any of the above changes, you must recreate the AOT cache.
Maybe add "The main class may be changed."
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23343#discussion_r1932849310
PR Review Comment: https://git.openjdk.org/jdk/pull/23343#discussion_r1932857563
PR Review Comment: https://git.openjdk.org/jdk/pull/23343#discussion_r1932860099
More information about the hotspot-runtime-dev
mailing list