Searched refs:ThreadForEnv (Results 1 – 6 of 6) sorted by relevance
25 return ThreadForEnv(env)->GetNativePriority(); in Java_Main_getNativePriority()
231 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()235 Runtime::Current()->GetHeap()->ConcurrentGC(ThreadForEnv(env), true); in VMRuntime_concurrentGC()239 Runtime::Current()->GetHeap()->RequestTrim(ThreadForEnv(env)); in VMRuntime_requestHeapTrim()243 Runtime::Current()->GetHeap()->RequestConcurrentGC(ThreadForEnv(env), true); in VMRuntime_requestConcurrentGC()247 Runtime::Current()->GetHeap()->GetTaskProcessor()->Start(ThreadForEnv(env)); in VMRuntime_startHeapTaskProcessor()251 Runtime::Current()->GetHeap()->GetTaskProcessor()->Stop(ThreadForEnv(env)); in VMRuntime_stopHeapTaskProcessor()255 Runtime::Current()->GetHeap()->GetTaskProcessor()->RunAllTasks(ThreadForEnv(env)); in VMRuntime_runHeapTasks()
141 return reinterpret_cast<jlong>(ThreadForEnv(env)); in ZygoteHooks_nativePreFork()
180 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) { in ScopedObjectAccessAlreadyRunnable()
32 static inline Thread* ThreadForEnv(JNIEnv* env) { in ThreadForEnv() function
3590 Thread* self = ThreadForEnv(env); in RegisterNativeAllocation()