[jdk21u] RFR: 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"

Aleksey Shipilev shade at openjdk.org
Thu Nov 2 09:37:08 UTC 2023


On Thu, 2 Nov 2023 09:17:29 GMT, Andrew Haley <aph at openjdk.org> wrote:

>> Clean backport to handle the ReservedStackArea corner case for more platforms. The fix for x86_64 was done in JDK 9. This brings it on par with other platforms. (Just in case, CC-ing original platform maintainers / porters: @TheRealMDoerr, @RealFYang, @theRealAph).
>> 
>> Additional testing:
>>  - [ ] Linux AArch64 fastdebug `tier1 tier2 tier3`
>
> src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp line 695:
> 
>> 693:     Label no_reserved_zone_enabling;
>> 694: 
>> 695:     // check if already enabled - if so no re-enabling needed
> 
> Suggestion:
> 
>     // check if already enabled - if so, no re-enabling is needed

Yeah, but this is a clean backport, so I would not deviate :)

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

PR Review Comment: https://git.openjdk.org/jdk21u/pull/318#discussion_r1379822216


More information about the jdk-updates-dev mailing list