KEMBAR78
Implement stack walking without AsyncGetCallTrace · Issue #66 · async-profiler/async-profiler · GitHub
Skip to content

Implement stack walking without AsyncGetCallTrace #66

@apangin

Description

@apangin

There is a number of problems with AsyncGetCallTrace API.

The idea is to implement Java stack walking on our own without relying on AGCT. Since the agent runs in the context of JVM, it can access VM structures, especially those exported through VMStructs. It should be possible to replicate stack walking logic of the VM inside async-profiler, though it might be challenging. The main risk is that differrent versions of JVM may have different stack layout, but VMStructs along with special handling of the known versions is likely to help.

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