Integrated: 8353014: Exclude AOT tooling classes from AOT cache

Ioi Lam iklam at openjdk.org
Wed Apr 9 01:18:48 UTC 2025


On Thu, 27 Mar 2025 03:47:07 GMT, Ioi Lam <iklam at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: c26c5758
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c26c5758679b803489f401fbb23e8153ca10e19f
Stats:     328 lines in 14 files changed: 244 ins; 49 del; 35 mod

8353014: Exclude AOT tooling classes from AOT cache

Reviewed-by: vlivanov, kvn

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

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


More information about the hotspot-runtime-dev mailing list