RFR: 8377554: Load card table base and other values via AOTRuntimeConstants in AOT code [v5]
Andrew Dinn
adinn at openjdk.org
Wed Feb 25 15:53:42 UTC 2026
On Wed, 25 Feb 2026 01:33:06 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Andrew Dinn has updated the pull request incrementally with four additional commits since the last revision:
>>
>> - rename card tabel field and load it correctly
>> - use correct load and remove redudnant mov
>> - fix comment
>> - fix pointer deref
>
> Looks good. I submitted testing.
@vnkozlov The macos aarch64 failure indicates a fake address in a ConP node. Real external address targets fit into 48 bits and the masm encoding and patching code rely on that. I think this is because we are seeing a ConP encoding a byte_map_base with a negative value -- the C2 barrier set assembler can pass such a ConP nodes into the library kit. That will not happen when we are generating AOT code but will happen otherwise.
I will modify the encoding for ConP to only apply the external reloc when we are dumping generating AOT code and see if that fixes the problem.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29884#issuecomment-3960241743
More information about the hotspot-dev
mailing list