Deprecate AsyncGetCallTrace

Author: apanginCreated Oct 13, 2025Updated Feb 6, 2026
Labelsenhancementcleanup

Describe the feature

In line with our strategy to elimiate all usages of AsyncGetCallTrace API in async-profiler, I propose to make cstack=vm the default stack walking mode and then deprecate fp and dwarf stack walking modes with the intention to remove them completely in future versions.

Use Case

This is a follow up to #795 and #1073.

Proposed Solution

cstack=vm already provides a superset of AsyncGetCallTrace capabilities, including all the tricks to recover from edge cases. At the same time, cstack=vm is safer and richer in functionality.

We will continue using vanilla AsyncGetCallTrace on Azul Zing only (without any additional stack recovery techniques) until we find an alternative.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Source: async-profiler/async-profiler