GH-140643: Add `<native>` and `<GC>` frames to the sampling profiler (#141108)
- Introduce a new field in the GC state to store the frame that initiated garbage collection. - Update RemoteUnwinder to include options for including "<native>" and "<GC>" frames in the stack trace. - Modify the sampling profiler to accept parameters for controlling the inclusion of native and GC frames. - Enhance the stack collector to properly format and append these frames during profiling. - Add tests to verify the correct behavior of the profiler with respect to native and GC frames, including options to exclude them. Co-authored-by: Pablo Galindo Salgado <pablogsal@gmail.com>
B
Brandt Bucher committed
336366fd7ca61858572fdb78e2bd79014b215f19
Parent: 89a914c
Committed by GitHub <noreply@github.com>
on 11/17/2025, 1:39:00 PM