RFR: 8368811: [Leyden] Use AOTRuntimeConstants table for card_table::_byte_map_base

Andrew Dinn adinn at openjdk.org
Tue Sep 30 15:29:31 UTC 2025


On Sat, 27 Sep 2025 23:55:51 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> @adinn what do you think about card_shift in AOTRuntimeConstants table? You added it there.

I added it because

1. When I added the AOTRuntimeConstants area to cater for ergonomic changes to RegionGrainSize I thought it might be enlightening to add a 2nd constant as a proof of the concept
2. The card shift is controlled by a GC command line option that users might in theory (but probably not in practice) wish to change between training/assembly and production runs.

I'm not committed to keeping it in AOTRuntimeConstants. I agree we can simply log the Assembly time flag and then enforce the same setting in production.

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

PR Comment: https://git.openjdk.org/leyden/pull/102#issuecomment-3352742051


More information about the leyden-dev mailing list