KEMBAR78
Deprecate AsyncGetCallTrace · Issue #1533 · async-profiler/async-profiler · GitHub
Skip to content

Deprecate AsyncGetCallTrace #1533

@apangin

Description

@apangin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions