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?
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?