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

Reply via email to