RFR: 8361536: [s390x] Saving return_pc at wrong offset

Amit Kumar amitkumar at openjdk.org
Thu Jul 10 03:38:40 UTC 2025


On Wed, 9 Jul 2025 14:35:30 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Fixes the bug where return pc was stored at a wrong offset, which causes issue with java abi. 
>> 
>> Issue appeared in #26004, see the comment: https://github.com/openjdk/jdk/pull/26004#issuecomment-3017928879.
>
> We're not really saving space. We just use less of the caller allocated stack space which is still as large as before.
> But the change looks good and should make the stack walking code happy, because it can find the return_pc where it is expected, now.

@TheRealMDoerr I need reapproval. Can you provide one ? Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/26209#issuecomment-3055233107


More information about the hotspot-compiler-dev mailing list