Searched refs:threadEnv (Results 1 – 1 of 1) sorted by relevance
1302 JNIEnvExt* threadEnv = self->GetJniEnv(); in CheckThread() local1306 if (env != threadEnv) { in CheckThread()1320 if (threadEnv->GetCritical() > 0) { in CheckThread()1328 if (threadEnv->GetCritical() == 0) { in CheckThread()1329 threadEnv->SetCriticalStartUs(self->GetCpuMicroTime()); in CheckThread()1331 threadEnv->SetCritical(threadEnv->GetCritical() + 1); in CheckThread()1334 if (threadEnv->GetCritical() == 0) { in CheckThread()1338 } else if (threadEnv->GetCritical() == 1) { in CheckThread()1340 uint64_t critical_duration_us = self->GetCpuMicroTime() - threadEnv->GetCriticalStartUs(); in CheckThread()1346 threadEnv->SetCritical(threadEnv->GetCritical() - 1); in CheckThread()