Lines Matching refs:art

288   art::ScopedFastNativeObjectAccess soa(env);  in JVM_InternString()
289 art::ObjPtr<art::mirror::String> s = soa.Decode<art::mirror::String>(jstr); in JVM_InternString()
294 return art::Runtime::Current()->GetHeap()->GetFreeMemory(); in JVM_FreeMemory()
298 return art::Runtime::Current()->GetHeap()->GetTotalMemory(); in JVM_TotalMemory()
302 return art::Runtime::Current()->GetHeap()->GetMaxMemory(); in JVM_MaxMemory()
306 if (art::Runtime::Current()->IsExplicitGcDisabled()) { in JVM_GC()
310 art::Runtime::Current()->GetHeap()->CollectGarbage(/* clear_soft_references */ false); in JVM_GC()
315 art::Runtime::Current()->CallExitHook(status); in JVM_Exit()
332 art::JavaVMExt* vm = art::Runtime::Current()->GetJavaVM(); in JVM_NativeLoad()
349 art::Thread::CreateNativeThread(env, jthread, stack_size, daemon == JNI_TRUE); in JVM_StartThread()
353 art::ScopedObjectAccess soa(env); in JVM_SetThreadPriority()
354 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_SetThreadPriority()
355 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_SetThreadPriority()
367 art::ScopedFastNativeObjectAccess soa(env); in JVM_Sleep()
368 art::ObjPtr<art::mirror::Object> lock = soa.Decode<art::mirror::Object>(java_lock); in JVM_Sleep()
369 art::Monitor::Wait(art::Thread::Current(), lock.Ptr(), millis, 0, true, art::kSleeping); in JVM_Sleep()
373 art::ScopedFastNativeObjectAccess soa(env); in JVM_CurrentThread()
378 art::ScopedFastNativeObjectAccess soa(env); in JVM_Interrupt()
379 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_Interrupt()
380 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_Interrupt()
388 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
390 art::ScopedFastNativeObjectAccess soa(env); in JVM_IsInterrupted()
391 art::MutexLock mu(soa.Self(), *art::Locks::thread_list_lock_); in JVM_IsInterrupted()
392 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_IsInterrupted()
398 art::ScopedObjectAccess soa(env); in JVM_HoldsLock()
399 art::ObjPtr<art::mirror::Object> object = soa.Decode<art::mirror::Object>(jobj); in JVM_HoldsLock()
401 art::ThrowNullPointerException("object == null"); in JVM_HoldsLock()
410 art::ScopedObjectAccess soa(env); in JVM_SetNativeThreadName()
411 if (soa.Decode<art::mirror::Object>(jthread) == soa.Self()->GetPeer()) { in JVM_SetNativeThreadName()
419 art::ThreadList* thread_list = art::Runtime::Current()->GetThreadList(); in JVM_SetNativeThreadName()
422 art::Thread* thread; in JVM_SetNativeThreadName()
426 art::SuspendReason::kInternal, in JVM_SetNativeThreadName()
431 art::ScopedObjectAccess soa(env); in JVM_SetNativeThreadName()
434 bool resumed = thread_list->Resume(thread, art::SuspendReason::kInternal); in JVM_SetNativeThreadName()