Integrated: 8313800: AArch64: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved

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


On Thu, 7 Sep 2023 16:58:38 GMT, Andrew Haley <aph at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 1d702d28
Author:    Andrew Haley <aph at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1d702d28b687add53762435abceb55f4dc2d37e2
Stats:     16 lines in 1 file changed: 0 ins; 9 del; 7 mod

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

Reviewed-by: cjplummer

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

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


More information about the serviceability-dev mailing list