RFR: 8374828: Save load_barrier_on_oop_field_preloaded in aot CodeCache
Aleksey Shipilev
shade at openjdk.org
Wed Jan 14 12:19:59 UTC 2026
On Wed, 14 Jan 2026 11:06:56 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> > @shipilev any ideas?
>
> I honestly do not remember what we were thinking :/ I do vaguely recall it was about peeking for nullptrs into phantoms; that is how IIRC we convinced ourselves it was "fine", as there was no GC-specific difference. For current non-peeking resolution in adapters, it does not sound right indeed.
I have a prototype that checks this condition mechanically, and sure it fails. Filed: https://bugs.openjdk.org/browse/JDK-8375298.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29129#issuecomment-3749294696
More information about the hotspot-compiler-dev
mailing list