RFR: 8353014: Exclude AOT tooling classes from AOT cache [v4]
Ioi Lam
iklam at openjdk.org
Thu Apr 3 23:59:29 UTC 2025
> When creating the AOT configuration file or the AOT cache file, we load a few "AOT tooling" classes that are not needed in the production run. This PR adds an API for filtering out such classes to reduce footprint.
>
> In addition, with the upcoming [JDK-8325147](https://bugs.openjdk.org/browse/JDK-8325147) (Ahead-of-Time Method Profiling), profiles for the tooling classes will be also be excluded. This will prevent the JVM from compiling methods at start-up which aren't going to be used.
Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
Thread safety: AOTClassFilter::is_aot_tooling_class() can potentially be called by multiple threads concurrently
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24272/files
- new: https://git.openjdk.org/jdk/pull/24272/files/26fd4673..08a3ddf6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24272&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24272&range=02-03
Stats: 43 lines in 2 files changed: 29 ins; 10 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/24272.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24272/head:pull/24272
PR: https://git.openjdk.org/jdk/pull/24272
More information about the hotspot-runtime-dev
mailing list