RFR: 8374828: Save load_barrier_on_oop_field_preloaded in aot CodeCache

Andrew Dinn adinn at openjdk.org
Mon Jan 12 14:14:19 UTC 2026


On Thu, 8 Jan 2026 23:18:19 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Save this address so that the code that uses it in the valhalla repo will have it.  This doesn't fail in main jdk repository.
> See CR for more information.
> Tested with tier1-4.

Also: The ability to use a different GC in assembly and production runs is not something we necessarily need to support. Switching in and out alternative JVM configurations is arguably a bad idea in that it is likely to increase the divergence between what gets run in training and what gets executed in production. However, we do need to clearly document what will not work and, in cases where it might cause a potential error, reject use of an AOT cache. So, it would be good to confirm what the precise limitations are in the case of ZGC.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29129#issuecomment-3738746466


More information about the hotspot-compiler-dev mailing list