Integrated: 8367910: Reduce warnings about unsupported classes in AOT cache creation

Ioi Lam iklam at openjdk.org
Thu Sep 25 20:02:59 UTC 2025


On Wed, 24 Sep 2025 23:15:21 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Currently AOT cache creation may print lots of warning (depending on the actions performed by the application's training run). Most of these warnings are harmless and are caused by JVM limitations; there's nothing that the user can do about them:
> 
> 
> [1.096s][warning][aot] Skipping jdk/internal/event/Event: JFR event class
> [1.096s][warning][aot] Skipping jdk/jfr/Event: JFR event class
> [1.099s][warning][aot] Skipping jdk/proxy1/$Proxy14: Unsupported location
> [1.100s][warning][aot] Skipping jdk/proxy1/$Proxy12: Unsupported location
> [1.100s][warning][aot] Skipping jdk/proxy1/$Proxy11: Unsupported location
> 
> 
> This PR moves most of these warnings to the "info" level. The only messages that are still logged in the "warning" levels are:
> 
> - class is in an error state
> - class failed verification
> 
> These could indicate issues with the application so it's good to let the user know.

This pull request has now been integrated.

Changeset: 52e77784
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/52e777845f0a09b4c285131f1eff02dfbffa0d1f
Stats:     50 lines in 8 files changed: 18 ins; 5 del; 27 mod

8367910: Reduce warnings about unsupported classes in AOT cache creation

Reviewed-by: dholmes, kvn, shade

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

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


More information about the hotspot-dev mailing list