[lworld] RFR: 8368099: [lworld] Crash in frame::sender_for_compiled_frame while processing JFR sampling request
duke
duke at openjdk.org
Tue Sep 23 21:04:19 UTC 2025
On Mon, 22 Sep 2025 22:37:30 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:
> Reconstructing a synthetic compiled frame when processing a sample request at a poll on return doesn’t work for frames that need stack repair. The stack walking code will read the frame size from the stack, but the memory has already been overwritten by the SafepointBlob frame. See comments in JBS issue for full details.
>
> This patch skips the attempt to create this synthetic frame in case the frame needs stack repair. This fixes the crash but doesn't handle the safepoint bias issue. A more permanent solution will be required for that.
>
> I tested the patch along the fix for 8368002 and verified that Jetty.java doesn’t crash anymore.
>
> Thanks,
> Patricio
@pchilano
Your change (at version b83133e1502de3c689c134e16e835a668b69309c) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1610#issuecomment-3325538082
More information about the valhalla-dev
mailing list