RFR: 8367910: Reduce warnings about unsupported classes in AOT cache creation
Aleksey Shipilev
shade at openjdk.org
Thu Sep 25 14:14:41 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.
Marked as reviewed by shade (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27480#pullrequestreview-3267967579
More information about the hotspot-dev
mailing list