method GC::threadsSuspended() when scheduler suspends all threads