Searched refs:ThreadForEnv (Results 1 – 6 of 6) sorted by relevance
25 return ThreadForEnv(env)->GetNativePriority(); in Java_Main_getNativePriority()
298 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()302 Runtime::Current()->GetHeap()->ConcurrentGC(ThreadForEnv(env), gc::kGcCauseBackground, true); in VMRuntime_concurrentGC()306 Runtime::Current()->GetHeap()->RequestTrim(ThreadForEnv(env)); in VMRuntime_requestHeapTrim()310 Runtime::Current()->GetHeap()->RequestConcurrentGC(ThreadForEnv(env), in VMRuntime_requestConcurrentGC()316 Runtime::Current()->GetHeap()->GetTaskProcessor()->Start(ThreadForEnv(env)); in VMRuntime_startHeapTaskProcessor()320 Runtime::Current()->GetHeap()->GetTaskProcessor()->Stop(ThreadForEnv(env)); in VMRuntime_stopHeapTaskProcessor()324 Runtime::Current()->GetHeap()->GetTaskProcessor()->RunAllTasks(ThreadForEnv(env)); in VMRuntime_runHeapTasks()
279 return reinterpret_cast<jlong>(ThreadForEnv(env)); in ZygoteHooks_nativePreFork()
100 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
35 static inline Thread* ThreadForEnv(JNIEnv* env) { in ThreadForEnv() function
3781 RequestConcurrentGC(ThreadForEnv(env), kGcCauseForNativeAlloc, /*force_full*/true); in RegisterNativeAllocation()