JVMTI callback when a thread is suspended as part of safepoint synchronization due to STW GC

suraj puvvada suraj.puvvada at gmail.com
Wed Dec 14 12:19:45 PST 2011


Is there a way to get a callback when a thread gets suspended as a result
of safepoint synchronization initiated by a STW GC ?

I am trying to see if there is a way to know which was the last method that
a thread was executing before it got suspended due to STW GC ? Appling BCI
on every method entry/exit will be very expensive and am looking for
alternatives.

Thanks in advance.

Suraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20111214/30292bf3/attachment.html 


More information about the serviceability-dev mailing list