RFR: 8372617: Save and restore stubgen stubs when using an AOT code cache [v11]
Vladimir Kozlov
kvn at openjdk.org
Fri Feb 20 20:08:02 UTC 2026
On Thu, 5 Feb 2026 16:22:13 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
>> I assume we need to port some parts from premain first before we proceed with this PR. Right?
>
>> I assume we need to port some parts from premain first before we proceed with this PR. Right?
>
> @vnkozlov We definitely need the CPU features check to go in before we push this PR. I asked @ashu-mehra to make a start on that.
>
> We also need to upstream the changes to use the AOTConstantsRegion before pushing this PR. I'll raise a PR for that.
>
> I have added the fixes for the klass and oop management to this PR. I think that's appropriate because it is only AOT code generated via this PR that is calling the relevant macroassembler methods.
@adinn
I tried latest update on local linux-x86 and aotCodeFlags.java still fail with parallel and ZGC.
What I notice is that in hs_err file in all places where the name of stub should be printed you get ` {runtime_call final_blob (stub gen)}`. The crash message is also affected:
# Problematic frame:
# v ~BufferBlob::final_blob (stub gen) 0x00007fccc7790a6d
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28433#issuecomment-3936869971
More information about the hotspot-dev
mailing list