Home
last modified time | relevance | path

Searched refs:vms_buf (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Djava_vm_ext_test.cc49 JavaVM* vms_buf[1]; in TEST_F() local
51 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F()
54 EXPECT_EQ(vms_buf[0], vm_); in TEST_F()
61 JavaVM* vms_buf[1]; in attach_current_thread_callback() local
64 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback()
68 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()
70 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); in attach_current_thread_callback()
79 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
Djava_vm_ext.cc974 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument
980 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()