Integrated: 8371368: SIGSEGV in JfrVframeStream::next_vframe() on arm64
Markus Grönlund
mgronlun at openjdk.org
Tue Nov 25 09:12:25 UTC 2025
On Tue, 18 Nov 2025 13:36:01 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 42f33335
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/42f333352408e03389fb37ea8ad8537a4a271b6a
Stats: 2 lines in 2 files changed: 1 ins; 0 del; 1 mod
8371368: SIGSEGV in JfrVframeStream::next_vframe() on arm64
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/28373
More information about the hotspot-jfr-dev
mailing list