RFR: 8374828: Save load_barrier_on_oop_field_preloaded in aot CodeCache

Coleen Phillimore coleenp at openjdk.org
Fri Jan 9 13:21:56 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.

These are all excellent questions.  I ran into this with running the valhalla tests with --enable-preview and -XX:+UseZGC, and this fixed it.  I supposed that that the valhalla adapters were using this method so it needed to be stored.  Will ask someone who knows.

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

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


More information about the hotspot-compiler-dev mailing list