RFR: 8371368: SIGSEGV in JfrVframeStream::next_vframe() on arm64 [v2]

Erik Gahlin egahlin at openjdk.org
Mon Nov 24 21:29:58 UTC 2025


On Tue, 18 Nov 2025 14:46:25 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
>
> 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

Marked as reviewed by egahlin (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28373#pullrequestreview-3502299120


More information about the hotspot-jfr-dev mailing list