RFR: 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
David Holmes
dholmes at openjdk.org
Tue Jun 27 23:51:05 UTC 2023
On Tue, 27 Jun 2023 10:51:05 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
> The other implementation don't look correct to me. StackGuardState is an enum and should typically have 4 Bytes.
@TheRealMDoerr could you elaborate please. We have the following:
- x86: we use `void cmpl(Address dst, int32_t imm32);`
- Aarch64: we use `cmp(Register Rd, unsigned char imm8)` and cast to `u1`
- RISC-V: we use `sub (Register Rd, Register Rn, int64_t decrement, Register temp = t0);` (perhaps should be `subw` for 32-bit? @RealFYang ?)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14669#issuecomment-1610371177
More information about the hotspot-compiler-dev
mailing list