Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement stack walking without AsyncGetCallTrace #66

Closed
7 of 10 tasks
apangin opened this issue Nov 2, 2017 · 5 comments
Closed
7 of 10 tasks

Implement stack walking without AsyncGetCallTrace #66

apangin opened this issue Nov 2, 2017 · 5 comments

Comments

@apangin
Copy link
Collaborator

apangin commented Nov 2, 2017

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.

@toaler
Copy link

toaler commented Jun 11, 2018

Hi @apangin any thoughts on when the features required to close this issue would be delivered? How potentially contributors help with the open work?

@apangin
Copy link
Collaborator Author

apangin commented Jun 12, 2018

@toaler Not sure, but unlikely in the nearest release. Are you interested in some particular problem of AGCT?

@LuoXiaoyi
Copy link

I'd like to know when will the async-profiler support J9?

@apangin
Copy link
Collaborator Author

apangin commented Nov 27, 2019

@LuoXiaoyi I'd like to know that as well ;) Pull requests are welcome!

@apangin
Copy link
Collaborator Author

apangin commented Aug 11, 2023

I'm closing this issue as obsolete.
Further work on AsyncGetCallTrace replacement will be carried out in #795.

@apangin apangin closed this as completed Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants