On Fri, 17 Apr 2026 15:59:33 GMT, Aleksey Shipilev <[email protected]> wrote:

>>> There is a failure that looks similar in C2, although I am not sure what's 
>>> wrong there yet. Digging...
>> 
>> OK, I think I know what this is. The crash is in C2 AOT method at inlined 
>> collection-set-check. Shenandoah expands that check in C2 IR and the testing 
>> the native bitmap, which AFAICS got relocated. I guess we need to 
>> `AOTRuntimeConstants` those to make them work. I am whipping up the patch 
>> now...
>> 
>> I am surprised we have not seen this in `premain` before!
>
>> OK, I think I know what this is. The crash is in C2 AOT method at inlined 
>> collection-set-check. Shenandoah expands that check in C2 IR and the testing 
>> the native bitmap, which AFAICS got relocated. I guess we need to 
>> `AOTRuntimeConstants` those to make them work. I am whipping up the patch 
>> now...
> 
> This should be enough to get AArch64 parts going: 
> [shenandoah-aot-2.patch](https://github.com/user-attachments/files/26833509/shenandoah-aot-2.patch).
>  There is still the same trouble in C1/x86 parts, I am going to implement 
> those once I am closer to x86 machines next week.

Thank you, @shipilev

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

PR Comment: https://git.openjdk.org/jdk/pull/30778#issuecomment-4269580160

Reply via email to