Integrated: 8351748: Add class init barrier to AOT-cached Method/Var Handles
Ioi Lam
iklam at openjdk.org
Mon Mar 24 06:45:15 UTC 2025
On Wed, 12 Mar 2025 04:09:24 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Whenever we store a MethodHandle in the AOT cache, we need to make sure that the class of this method is aot-initialized. Otherwise, the JVM might execute a BSM without first initializing the class of this BSM.
>
> Please see the bug report for detail analysis.
>
> I also fixed a problem in related logging code.
This pull request has now been integrated.
Changeset: adfb1206
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/adfb1206498987f43a4cf0cd6ba0cb6a5bb8e479
Stats: 402 lines in 14 files changed: 380 ins; 5 del; 17 mod
8351748: Add class init barrier to AOT-cached Method/Var Handles
Reviewed-by: vlivanov, liach
-------------
PR: https://git.openjdk.org/jdk/pull/24004
More information about the hotspot-runtime-dev
mailing list