Searched refs:ThreadForEnv (Results 1 – 6 of 6) sorted by relevance
25 return ThreadForEnv(env)->GetNativePriority(); in Java_Main_getNativePriority()
336 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()340 Runtime::Current()->GetHeap()->RequestTrim(ThreadForEnv(env)); in VMRuntime_requestHeapTrim()345 heap->RequestConcurrentGC(ThreadForEnv(env), in VMRuntime_requestConcurrentGC()352 Runtime::Current()->GetHeap()->GetTaskProcessor()->Start(ThreadForEnv(env)); in VMRuntime_startHeapTaskProcessor()356 Runtime::Current()->GetHeap()->GetTaskProcessor()->Stop(ThreadForEnv(env)); in VMRuntime_stopHeapTaskProcessor()360 Runtime::Current()->GetHeap()->GetTaskProcessor()->RunAllTasks(ThreadForEnv(env)); in VMRuntime_runHeapTasks()
262 return reinterpret_cast<jlong>(ThreadForEnv(env)); in ZygoteHooks_nativePreFork()
97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
37 static inline Thread* ThreadForEnv(JNIEnv* env) { in ThreadForEnv() function
4011 CheckGCForNative(ThreadForEnv(env)); in NotifyNativeAllocations()4025 CheckGCForNative(ThreadForEnv(env)); in RegisterNativeAllocation()