Searched refs:DetachCurrentThread (Results 1 – 22 of 22) sorted by relevance
84 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()132 TEST_F(JavaVmExtTest, DetachCurrentThread) { in TEST_F() argument136 ok = vm_->DetachCurrentThread(); in TEST_F()139 jint err = vm_->DetachCurrentThread(); in TEST_F()184 ok = vm_->DetachCurrentThread(); in TEST_F()
425 static jint DetachCurrentThread(JavaVM* vm) { in DetachCurrentThread() function in art::JII431 runtime->DetachCurrentThread(); in DetachCurrentThread()500 JII::DetachCurrentThread,
317 CHECK_NE(Runtime::Current()->GetJavaVM()->DetachCurrentThread(), JNI_ERR); in CheckAttachedThread()4094 static jint DetachCurrentThread(JavaVM* vm) { in DetachCurrentThread() function in art::__anon846bc2ca0111::CheckJII4099 result.i = BaseVm(vm)->DetachCurrentThread(vm); in DetachCurrentThread()4126 CheckJII::DetachCurrentThread,
2565 jint detach_result = vm_->DetachCurrentThread(); in TEST_F()
62 vm->DetachCurrentThread(); in Java_Main_destroyJavaVMAndExit()
46 int detach_result = vm->DetachCurrentThread(); in Runner()
61 args->jvm->DetachCurrentThread(); in ThreadMain()
196 if (vm->DetachCurrentThread() != JNI_OK) { in dalvikvm()
204 runtime->DetachCurrentThread(); in Run()
154 runtime->DetachCurrentThread(/* should_run_callbacks= */ false); in Callback()
97 runtime->DetachCurrentThread(); in PthreadsCallback()
314 void DetachCurrentThread(bool should_run_callbacks = true) REQUIRES(!Locks::mutator_lock_);
472 DetachCurrentThread(/* should_run_callbacks= */ false); in ~Runtime()2577 void Runtime::DetachCurrentThread(bool should_run_callbacks) { in DetachCurrentThread() function in art::Runtime
99 Runtime::Current()->DetachCurrentThread(); in ShutDown()
571 runtime->DetachCurrentThread(); in RunSamplingThread()
87 return vm->real_vm->DetachCurrentThread(); in WrapDetachCurrentThread()116 out->DetachCurrentThread = reinterpret_cast<jint(*)(JavaVM*)>(WrapDetachCurrentThread); in CreateInvokeInterface()
189 runtime_->DetachCurrentThread(); in BackgroundThreadRun()
333 int detach_result = art::Runtime::Current()->GetJavaVM()->DetachCurrentThread(); in CallbackFunction()
69 int detach_result = jvm->DetachCurrentThread(); in AttachHelper()
952 runtime->DetachCurrentThread(); in RunProfileSaverThread()
1506 Runtime::Current()->DetachCurrentThread(); in RunPollingThread()
810 int detach_result = data->java_vm->DetachCurrentThread(); in AgentCallback()