RFR: 8362657: Make tables used in AOT assembly phase GC-safe
David Holmes
dholmes at openjdk.org
Thu Sep 18 06:26:35 UTC 2025
On Tue, 16 Sep 2025 20:42:17 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> Upstreaming from the Leyden prototype in anticipation of AOT code compilation ([JDK-8335368](https://bugs.openjdk.org/browse/JDK-8335368)).
>
> We have a few tables that are currently consulted only inside the CDS safepoint. With AOT code compilation, these tables may be consulted after we leave the CDS safepoint. For GC safety, this PR uses `OopHandle` instead of `oop` in hashtables.
Okay this seems reasonable.
Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27323#pullrequestreview-3237453975
More information about the hotspot-runtime-dev
mailing list