-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
Description
Describe the bug
While checking some GHA issues https://github.com/async-profiler/async-profiler/actions/runs/16467343342/job/46547925384?pr=1404
I noticed that sometimes async-profiler might produce impossible stacks
For example on the StackwalkerTests.largeFrame test sometimes produce the following samples on macOS
Java_test_stackwalker_StackGenerator_largeFrame;Java_test_stackwalker_StackGenerator_leafFrame 2
Java_test_stackwalker_StackGenerator_largeFrame;doCpuTask;powl 64
Java_test_stackwalker_StackGenerator_largeFrame;doCpuTask 13
The Java_test_stackwalker_StackGenerator_largeFrame;Java_test_stackwalker_StackGenerator_leafFrame should be impossible as Java_test_stackwalker_StackGenerator_leafFrame is never called from Java_test_stackwalker_StackGenerator_largeFrame
Expected vs. actual behavior
No response
Reproduction Steps
make test TESTS=StackwalkerTests.largeFrame
Additional Information/Context
No response
Async-profiler version
latest
Environment details
No response