RFR: 8371368: SIGSEGV in JfrVframeStream::next_vframe() on arm64 [v2]
Markus Grönlund
mgronlun at openjdk.org
Tue Nov 18 14:46:25 UTC 2025
> Greetings,
>
> Please see a description in the JIRA ticket about this problem related to PreserveFramePointer on arm64.
>
> Summary:
> The third argument passes the sender_sp as the frame FP - which is valid for most situations where unextended_sp() + cb->frame_size() is used (a compiled frame's real_fp() is usually equivalent to the sender SP). But this is incorrect when PreserveFramePointer is set. To fix this, a real frame pointer must be passed to the constructor.
>
> Testing: jdk_jfr, stress testing
>
> Thanks
> Markus
Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
ppc and s390 do not have frame::sender_sp_offset defined
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28373/files
- new: https://git.openjdk.org/jdk/pull/28373/files/697644a1..a2434eb8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28373&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28373&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/28373.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28373/head:pull/28373
PR: https://git.openjdk.org/jdk/pull/28373
More information about the hotspot-jfr-dev
mailing list