On Fri, 16 Oct 2026 02:31:48 GMT, Ioi Lam <[email protected]> wrote:
> - Print a warning if `-XX:AOTMode=on` is specified
> - Changed all test cases to use `-XX:AOTMode=required`
> - Updated documentation
>
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK
> Interim AI Policy](https://openjdk.org/legal/ai).
src/hotspot/share/cds/cds_globals.hpp line 108:
> 106: product(ccstr, AOTMode, nullptr,
> \
> 107: "Specifies how AOTCache should be created or used. Valid
> values " \
> 108: "are: off, record, create, auto, create, and (deprecated) on;
> " \
`create` appears twice. Did you mean `required` instead?
src/java.base/share/man/java.md line 3031:
> 3029:
> 3030: [`-XX:AOTMode=on`]{#-XX__AOTModeOn}
> 3031: : Requires the AOTCache to be loaded. Use `-XX:AOTMode=require`
> instead.
s/require/required
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33397#discussion_r4296098038
PR Review Comment: https://git.openjdk.org/jdk/pull/33397#discussion_r4296099940