RFR: 8316182: RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved
Feilong Jiang
fjiang at openjdk.org
Fri Sep 15 10:07:46 UTC 2023
On Thu, 14 Sep 2023 14:44:09 GMT, Fei Yang <fyang at openjdk.org> wrote:
>> Hi, please consider.
>> Inspired by [JDK-8313800](https://bugs.openjdk.org/browse/JDK-8313800). RISC-V also treats x8/fp as a callee-saved scratch register for some time, 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.
>>
>> Testing:
>> - [x] hotspot_serviceability
>> - [x] jdk_svc
>> - [x] tier1
>
> LGTM
@RealFYang -- Thanks!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15714#issuecomment-1721013886
More information about the serviceability-dev
mailing list