RFR: 8362657: Make tables used in AOT assembly phase GC-safe
Ioi Lam
iklam at openjdk.org
Fri Sep 19 01:07:17 UTC 2025
On Wed, 17 Sep 2025 09:49:58 GMT, Aleksey Shipilev <shade 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.
>
> I remember reviewing this in Leyden/premain downstream. This looks good for mainline.
Thanks @shipilev @dholmes-ora for the review
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27323#issuecomment-3310134345
More information about the hotspot-runtime-dev
mailing list