RFR: 8374482: SA does not handle signal handler frame in mixed jstack [v5]

Kevin Walls kevinw at openjdk.org
Fri Jan 23 13:54:39 UTC 2026


On Fri, 23 Jan 2026 13:27:19 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

>> Right, we have been here before with recognising symbols when PC is off the end of the defined symbol size in a different issue.  I think then we (you!) tried hard not to simply recognise all symbols as being a byte larger than they really are.  
>> 
>> sym->size for the specific symbol we care about here is zero?  Yes I'm seeing 0 size for __restore_rt also.
>> 
>> Comparing offset == sym->offset as an alternative condition, without using sym->size would work?
>
> Good catch! But I feel conditions in `if` statement long a bit. So I added convenience function to check address range as `is_in()` and it works. How about this?

Yes no problem with that.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29023#discussion_r2721279690


More information about the serviceability-dev mailing list