On Wed, 23 Sep 2026 02:30:41 GMT, Dingli Zhang <[email protected]> wrote:
> Hi, pleaser consider. > > Just like [JDK-8231635](https://bugs.openjdk.org/browse/JDK-8231635), on > Linux/RISC-V, SA stack walking can loop indefinitely in > `RISCV64CurrentFrameGuess.run()` when a guessed frame leads to a cyclic > sender chain. This caused `sun/tools/jhsdb/JStackStressTest.java` to time out. > > Reject candidates whose sender stack pointer does not advance, matching the > existing checks on AArch64 and AMD64. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 2365ecc5 Author: Dingli Zhang <[email protected]> URL: https://git.openjdk.org/jdk/commit/2365ecc5fd83cf27c6c55aaca5aa6bad6ae9dbbf Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod 8392924: RISC-V: Avoid infinite loop in RISCV64CurrentFrameGuess Reviewed-by: cjplummer, fyang ------------- PR: https://git.openjdk.org/jdk/pull/33024
