RFR: 8338017: Add AOT command-line flag aliases

Ioi Lam iklam at openjdk.org
Thu Aug 8 23:07:05 UTC 2024


This is the first PR for [JEP 483: Ahead-of-Time Class Loading & Linking](https://bugs.openjdk.org/browse/JDK-8315737).

Add the following command-line options as specified in JEP 483:


- `-XX:AOTMode=off/record/create/auto/on`
- `-XX:AOTConfiguration=<file>.aotconfig`
- `-XX:AOTCache=<file>.aot`

These options are implemented as aliases to existing command-line flags such as `-Xshare:dump`, `-XX:SharedArchiveFile`, `-XX:DumpLoadedClassesList`, etc.

Please see the CSR (TODO) for detailed specification.






-----
See [here](https://bugs.openjdk.org/browse/JDK-8315737) for the sequence of dependent RFEs for implementing JEP 483.

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

Commit messages:
 - Fixed whitespaces
 - 8338017: Add AOT command-line flag aliases

Changes: https://git.openjdk.org/jdk/pull/20516/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20516&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338017
  Stats: 339 lines in 10 files changed: 335 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/20516.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20516/head:pull/20516

PR: https://git.openjdk.org/jdk/pull/20516


More information about the core-libs-dev mailing list