RFR: 8374828: Save load_barrier_on_oop_field_preloaded in aot CodeCache
Stefan Karlsson
stefank at openjdk.org
Tue Jan 13 13:46:22 UTC 2026
On Mon, 12 Jan 2026 17:35:36 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
> However, the fact that ZGC requires a barrier for an off-heap phantom oop load does mean that we must stick with ZGC in production when we use it in assembly and vice versa (while we can safely mix and match Serial, Parallel, G1 and Shenandoah GCs).
I don't think this is true. Both G1 and Shenandoah GC need their respective SATB load barrier when they are loading an off-heap phantom oop.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29129#issuecomment-3744404716
More information about the hotspot-compiler-dev
mailing list