Home
last modified time | relevance | path

Searched refs:ThreadForEnv (Results 1 – 6 of 6) sorted by relevance

/art/test/051-thread/
Dthread_test.cc25 return ThreadForEnv(env)->GetNativePriority(); in Java_Main_getNativePriority()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc329 Runtime::Current()->GetHeap()->Trim(ThreadForEnv(env)); in VMRuntime_trimHeap()
333 Runtime::Current()->GetHeap()->ConcurrentGC(ThreadForEnv(env), gc::kGcCauseBackground, true); in VMRuntime_concurrentGC()
337 Runtime::Current()->GetHeap()->RequestTrim(ThreadForEnv(env)); in VMRuntime_requestHeapTrim()
341 Runtime::Current()->GetHeap()->RequestConcurrentGC(ThreadForEnv(env), in VMRuntime_requestConcurrentGC()
347 Runtime::Current()->GetHeap()->GetTaskProcessor()->Start(ThreadForEnv(env)); in VMRuntime_startHeapTaskProcessor()
351 Runtime::Current()->GetHeap()->GetTaskProcessor()->Stop(ThreadForEnv(env)); in VMRuntime_stopHeapTaskProcessor()
355 Runtime::Current()->GetHeap()->GetTaskProcessor()->RunAllTasks(ThreadForEnv(env)); in VMRuntime_runHeapTasks()
Ddalvik_system_ZygoteHooks.cc248 return reinterpret_cast<jlong>(ThreadForEnv(env)); in ZygoteHooks_nativePreFork()
/art/runtime/
Dscoped_thread_state_change-inl.h101 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
Dthread-inl.h36 static inline Thread* ThreadForEnv(JNIEnv* env) { in ThreadForEnv() function
/art/runtime/gc/
Dheap.cc4069 CheckGCForNative(ThreadForEnv(env)); in NotifyNativeAllocations()
4081 CheckGCForNative(ThreadForEnv(env)); in RegisterNativeAllocation()