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

Vladimir Kozlov kvn at openjdk.org
Mon May 12 23:09:55 UTC 2025


On Thu, 8 May 2025 01:33:54 GMT, Ashutosh Mehra <asmehra 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.
>
>> 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.

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

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


More information about the hotspot-compiler-dev mailing list