Searched refs:threadEnv (Results 1 – 1 of 1) sorted by relevance
1352 JNIEnvExt* threadEnv = self->GetJniEnv(); in CheckThread() local1356 if (env != threadEnv) { in CheckThread()1370 if (threadEnv->GetCritical() > 0) { in CheckThread()1378 if (threadEnv->GetCritical() == 0) { in CheckThread()1379 threadEnv->SetCriticalStartUs(self->GetCpuMicroTime()); in CheckThread()1381 threadEnv->SetCritical(threadEnv->GetCritical() + 1); in CheckThread()1384 if (threadEnv->GetCritical() == 0) { in CheckThread()1388 } else if (threadEnv->GetCritical() == 1) { in CheckThread()1390 uint64_t critical_duration_us = self->GetCpuMicroTime() - threadEnv->GetCriticalStartUs(); in CheckThread()1396 threadEnv->SetCritical(threadEnv->GetCritical() - 1); in CheckThread()