Searched refs:threadEnv (Results 1 – 1 of 1) sorted by relevance
1359 JNIEnvExt* threadEnv = self->GetJniEnv(); in CheckThread() local1363 if (env != threadEnv) { in CheckThread()1377 if (threadEnv->GetCritical() > 0) { in CheckThread()1385 if (threadEnv->GetCritical() == 0) { in CheckThread()1386 threadEnv->SetCriticalStartUs(self->GetCpuMicroTime()); in CheckThread()1388 threadEnv->SetCritical(threadEnv->GetCritical() + 1); in CheckThread()1391 if (threadEnv->GetCritical() == 0) { in CheckThread()1395 } else if (threadEnv->GetCritical() == 1) { in CheckThread()1397 uint64_t critical_duration_us = self->GetCpuMicroTime() - threadEnv->GetCriticalStartUs(); in CheckThread()1403 threadEnv->SetCritical(threadEnv->GetCritical() - 1); in CheckThread()