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

Question: how to set contextId into JFR when using AsyncProfiler in attach mode? #100

Closed
moming00 opened this issue Jul 25, 2023 · 0 comments

Comments

@moming00
Copy link

Hi Guys, any idea how to set contextId into JFR without using AsyncProfiler in Java API mode. Currently I'm trying to retrieve the threadlocal variable context in AsyncProfiler code when dumping JFR. But the app crashed with error "guarantee(thread->can_call_java()) failed: cannot make java calls from the native compiler", could you share your thoughts on how to achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant