RFR: 8354887: Preserve runtime blobs in AOT code cache [v2]

Ashutosh Mehra asmehra at openjdk.org
Wed May 14 16:39:56 UTC 2025


On Mon, 12 May 2025 23:07:02 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>>> I think for these changes we should not use AOT code when the heap base does not match.
>> Something changed in compressed oops code which prevents enforcing encoding.
>> We can investigate and fix it later.
>> 
>> @vnkozlov for this PR we are relying on having relocation for COOP base, not on enforcing encoding. And that should be able to handle cases where heap base is different in assembly vs prod. Why do you suggest to not use AOT code when the heap base does not match?
>
> @ashu-mehra,  this looks good with few comments. After you address them, please merge latest jdk - I pushed small related change to limit platforms to run with AOT.
> 
> After that I will submit new testing.

@vnkozlov thank you for reviewing and testing it.

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

PR Comment: https://git.openjdk.org/jdk/pull/25019#issuecomment-2880874827


More information about the hotspot-compiler-dev mailing list