RFR: 8371: Stacktrace should hide hidden frames [v2]
Charles Nutter
headius at openjdk.org
Sat Jun 14 13:38:33 UTC 2025
On Fri, 11 Apr 2025 10:51:28 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:
>> JFR tool is hiding all the hidden frames. But in JMC, Stacktrace view is still showing lot of hidden methods which is not required from the users point of view. Hence, we will be hiding all the hidden frames as part of this enhancement.
>>
>> Also, we have updated some test cases also in order to get rid of hidden frames which were expected by the test cases.
>
> Suchita Chaturvedi has updated the pull request incrementally with one additional commit since the last revision:
>
> Removed ArrayList and replaced FOR-loop implementation with Streams
Just a note, async-profiler has this feature and it seems to work well there. I am not sure whether it is something they do in the native binding or if it's something they do to post-process, but it helps unify multiple "essentially identical" stacks when they differ only by LambdaForm frames, which is critical for profiling heavy invokedynamic-using libraries and languages (like JRuby).
I'll try to circle back to this and help.
-------------
PR Comment: https://git.openjdk.org/jmc/pull/632#issuecomment-2972767663
More information about the jmc-dev
mailing list