RFR: 8313800: AArch64: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved [v3]

Andrew Haley aph at openjdk.org
Tue Sep 12 16:55:26 UTC 2023


> This PR fixes a specific problem caused by using r29/rfp to unwind Java code. For some time we have treated r29 as a callee-saved scratch register, and it is freely used by C2-generated code. Therefore, any code in SA that uses getFP() in a compiled frame is very likely to come to grief.
> 
> I believe this is the root cause of 8313800, but it's very hard to prove that because because it's something of an intermittent fault.

Andrew Haley has updated the pull request incrementally with three additional commits since the last revision:

 - Revert "Remove tests from ProblemList files."
   
   This reverts commit a373a9edba14c381fca07087e97a480311bfec51.
 - Merge branch 'JDK-8313800-2' of https://github.com/theRealAph/jdk into JDK-8313800-2
 - Remove tests from ProblemList files.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15624/files
  - new: https://git.openjdk.org/jdk/pull/15624/files/a8d14946..1ca538da

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15624&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15624&range=01-02

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15624.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15624/head:pull/15624

PR: https://git.openjdk.org/jdk/pull/15624


More information about the serviceability-dev mailing list