Comment 3 for bug 1133018

Revision history for this message
Stas Boukarev (stassats) wrote :

The attached trace shows that SIGPROF is delivered to another thread during GC, the GC is initiated from a different thread, as a result, the signal is not deferred and causes trouble.
The questions are:
Should the safepoint version of stop_the_world block deferrable signals?
Should maybe_defer_handler take into account that GC is happening at the moment? Currently it checks for without-interrupts and pseudo-atomic.