Lines Matching refs:suspend_policy
569 if ((*match_list)->suspend_policy > policy) { in scanSuspendPolicy()
570 policy = (*match_list)->suspend_policy; in scanSuspendPolicy()
584 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy() argument
585 VLOG(jdwp) << "SuspendByPolicy(" << suspend_policy << ")"; in SuspendByPolicy()
586 if (suspend_policy == SP_NONE) { in SuspendByPolicy()
590 if (suspend_policy == SP_ALL) { in SuspendByPolicy()
593 CHECK_EQ(suspend_policy, SP_EVENT_THREAD); in SuspendByPolicy()
627 void JdwpState::SendRequestAndPossiblySuspend(ExpandBuf* pReq, JdwpSuspendPolicy suspend_policy, in SendRequestAndPossiblySuspend() argument
635 if (suspend_policy != SP_NONE) { in SendRequestAndPossiblySuspend()
639 SuspendByPolicy(suspend_policy, thread_self_id); in SendRequestAndPossiblySuspend()
757 JdwpSuspendPolicy suspend_policy; in PostVMStart() local
761 suspend_policy = SP_ALL; in PostVMStart()
763 suspend_policy = SP_NONE; in PostVMStart()
771 VLOG(jdwp) << " suspend_policy=" << suspend_policy; in PostVMStart()
773 expandBufAdd1(pReq, suspend_policy); in PostVMStart()
784 SendRequestAndPossiblySuspend(pReq, suspend_policy, threadId); in PostVMStart()
874 JdwpSuspendPolicy suspend_policy = SP_NONE; in PostLocationEvent() local
896 suspend_policy = scanSuspendPolicy(match_list, match_count); in PostLocationEvent()
905 VLOG(jdwp) << " suspend_policy=" << suspend_policy; in PostLocationEvent()
909 expandBufAdd1(pReq, suspend_policy); in PostLocationEvent()
931 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostLocationEvent()
958 JdwpSuspendPolicy suspend_policy = SP_NONE; in PostFieldEvent() local
972 suspend_policy = scanSuspendPolicy(match_list, match_count); in PostFieldEvent()
990 VLOG(jdwp) << " suspend_policy=" << suspend_policy; in PostFieldEvent()
994 expandBufAdd1(pReq, suspend_policy); in PostFieldEvent()
1031 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostFieldEvent()
1056 JdwpSuspendPolicy suspend_policy = SP_NONE; in PostThreadChange() local
1073 suspend_policy = scanSuspendPolicy(match_list, match_count); in PostThreadChange()
1079 VLOG(jdwp) << " suspend_policy=" << suspend_policy; in PostThreadChange()
1083 expandBufAdd1(pReq, suspend_policy); in PostThreadChange()
1101 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostThreadChange()
1167 JdwpSuspendPolicy suspend_policy = SP_NONE; in PostException() local
1177 suspend_policy = scanSuspendPolicy(match_list, match_count); in PostException()
1199 VLOG(jdwp) << " suspend_policy=" << suspend_policy; in PostException()
1203 expandBufAdd1(pReq, suspend_policy); in PostException()
1225 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostException()
1251 JdwpSuspendPolicy suspend_policy = SP_NONE; in PostClassPrepare() local
1262 suspend_policy = scanSuspendPolicy(match_list, match_count); in PostClassPrepare()
1279 VLOG(jdwp) << " suspend_policy=" << suspend_policy; in PostClassPrepare()
1290 if (suspend_policy == SP_EVENT_THREAD) { in PostClassPrepare()
1291 suspend_policy = SP_ALL; in PostClassPrepare()
1296 expandBufAdd1(pReq, suspend_policy); in PostClassPrepare()
1318 SendRequestAndPossiblySuspend(pReq, suspend_policy, thread_id); in PostClassPrepare()