Integrated: 8377554: Load card table base and other values via AOTRuntimeConstants in AOT code

Andrew Dinn adinn at openjdk.org
Fri Feb 27 21:52:41 UTC 2026


On Mon, 23 Feb 2026 16:59:53 GMT, Andrew Dinn <adinn at openjdk.org> wrote:

> Generated stubs and nmethods embed some runtime-derived constants, such as the card table base, directly into code as instruction operands. AOT code generation cannot rely on these constants being valid between the assembly run and a production run and adjusting the constants at load time is not currently supported. So, instead AOT generation must employ code which loads the constants from a table whose address can be relocated at load time.

This pull request has now been integrated.

Changeset: 4bee207d
Author:    Andrew Dinn <adinn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/4bee207d0ad948734e04516dd8d7c9504cb83665
Stats:     329 lines in 23 files changed: 311 ins; 0 del; 18 mod

8377554: Load card table base and other values via AOTRuntimeConstants in AOT code

Reviewed-by: kvn, asmehra

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

PR: https://git.openjdk.org/jdk/pull/29884


More information about the hotspot-dev mailing list