RFR: Some AOTCodeCache cleanup after merge from mainline [v2]

Vladimir Kozlov kvn at openjdk.org
Wed May 14 18:40:02 UTC 2025


On Wed, 14 May 2025 15:51:34 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:

>> Additional cleanup following Vladimir's merge of mainline to premain.
>
> Ashutosh Mehra has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix minimal variant compile failure
>   
>   Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>

We use `pointer_delta()` in `AOTCodeAddressTable::id_for_address()`:

uint dist = (uint)pointer_delta(addr, (address)os::init, 1);


`uint` could be definately small for difference. Any suggestions?

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

PR Comment: https://git.openjdk.org/leyden/pull/66#issuecomment-2881178578


More information about the leyden-dev mailing list