RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2]

Ashutosh Mehra asmehra at openjdk.org
Sat May 17 02:16:23 UTC 2025


On Fri, 16 May 2025 18:02:24 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Ashutosh Mehra has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Fix compile failure in zero variant
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>>  - Add methods in AOTCacheAccess to convert offset to appropriate metadata pointer
>>    
>>    Signed-off-by: Ashutosh Mehra <asmehra at redhat.com>
>
> Can you add new methods to  `AOTCacheAccess` to get addresses based on offsets instead of: `(Method*)((address)SharedBaseAddress + entry->method_offset());` ?

@vnkozlov I added changes as per your suggestion.

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

PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2887973742


More information about the leyden-dev mailing list