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

Andrew Haley aph at openjdk.org
Thu Nov 2 09:22:09 UTC 2023


On Wed, 1 Nov 2023 17:30:50 GMT, Aleksey Shipilev <shade 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`

Marked as reviewed by aph (Reviewer).

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

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

PR Review: https://git.openjdk.org/jdk21u/pull/318#pullrequestreview-1709779709
PR Review Comment: https://git.openjdk.org/jdk21u/pull/318#discussion_r1379801391


More information about the jdk-updates-dev mailing list