The VM crashed when I was trying to attach this agent on a running program and I got SIGFPE or SIGSEGV signal in core dump. What i found in hs_err_pid.log is that the problematic frame is always in [libjvm.so]. This almost drives me mad.
Would you kindly explain why these crashes happened?
Hi,
As you mentioned in wiki - The Profiling Approach, there are restrictions in async callback.
What are they exactly?
Actually, I've met some trouble while implementing the signal handler with JVMTI which I think they come frome the restriction. Below is my code:
The VM crashed when I was trying to attach this agent on a running program and I got SIGFPE or SIGSEGV signal in core dump. What i found in hs_err_pid.log is that the problematic frame is always in [libjvm.so]. This almost drives me mad.
Would you kindly explain why these crashes happened?
Thank you