Home | History | Annotate | Download | only in vm

Lines Matching full:suspendcount

1623     /* Remove this thread's suspendCount from global suspendCount sum */
1625 dvmAddToSuspendCounts(self, -self->suspendCount, 0);
2194 thread->threadId, thread->suspendCount);
2218 if (thread->suspendCount > 0) {
2221 LOG_THREAD("threadid=%d: suspendCount already zero",
2226 thread->threadId, thread->suspendCount);
2228 if (thread->suspendCount == 0) {
2260 assert(self->suspendCount > 0);
2277 while (self->suspendCount != 0) {
2280 if (self->suspendCount != 0) {
2288 self->threadId, self->suspendCount, self->dbgSuspendCount);
2291 assert(self->suspendCount == 0 && self->dbgSuspendCount == 0);
2567 //assert(self->suspendCount == 0);
2619 thread->suspendCount, thread->dbgSuspendCount);
2659 if (thread->suspendCount > 0) {
2665 LOG_THREAD("threadid=%d: suspendCount already zero",
2753 assert(thread->suspendCount >= thread->dbgSuspendCount);
2792 * (1) Running happily. status is RUNNING, suspendCount is zero.
2794 * (2) Pending suspend. status is RUNNING, suspendCount is nonzero.
2796 * (3) Suspended. suspendCount is nonzero, and status is !RUNNING.
2798 * (4) Waking up. suspendCount is zero, status is SUSPENDED
2803 return (thread->suspendCount != 0 &&
2848 assert(self->suspendCount >= 0);
2852 * access to self->suspendCount.
2856 bool needSuspend = (self->suspendCount != 0);
2863 while (self->suspendCount != 0) {
2873 assert(self->suspendCount == 0 && self->dbgSuspendCount == 0);
2891 if (self->suspendCount == 0) {
2973 if (self->suspendCount != 0) {
3378 groupName, thread->suspendCount, thread->dbgSuspendCount,