RFR: 8256359: AArch64: runtime/ReservedStack/ReservedStackTestCompiler.java fails

Andrew Haley aph at openjdk.java.net
Wed Nov 25 14:12:08 UTC 2020


The problem is that the caller's expression SP is restored before throw_delayed_StackOverflowError(). This is wrong: it leaves ESP pointing into the caller's frame, and this triggers an assert failure. The fix here delays updating ESP until we know we're not going to call throw_delayed_StackOverflowError(). This makes the logic the same as x86.

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

Commit messages:
 - 8256359: AArch64: runtime/ReservedStack/ReservedStackTestCompiler.java fails

Changes: https://git.openjdk.java.net/jdk/pull/1435/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1435&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256359
  Stats: 8 lines in 2 files changed: 5 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1435.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1435/head:pull/1435

PR: https://git.openjdk.java.net/jdk/pull/1435


More information about the hotspot-compiler-dev mailing list