Lines Matching refs:data
47 AgentData* data = reinterpret_cast<AgentData*>(arg); in AgentMain() local
54 CHECK(!env->IsSameObject(this_thread, data->main_thread)); in AgentMain()
88 int wait_result = pthread_barrier_wait(&data->b); in AgentMain()
146 AgentData data; in Java_art_Test931_testAgentThread() local
147 data.main_thread = env->NewGlobalRef(main_thread); in Java_art_Test931_testAgentThread()
148 data.jvmti_env = jvmti_env; in Java_art_Test931_testAgentThread()
149 data.priority = JVMTI_THREAD_MIN_PRIORITY; in Java_art_Test931_testAgentThread()
150 CHECK_EQ(0, pthread_barrier_init(&data.b, nullptr, 2)); in Java_art_Test931_testAgentThread()
152 jvmtiError result = jvmti_env->RunAgentThread(thread.get(), AgentMain, &data, data.priority); in Java_art_Test931_testAgentThread()
157 int wait_result = pthread_barrier_wait(&data.b); in Java_art_Test931_testAgentThread()
178 env->DeleteGlobalRef(data.main_thread); in Java_art_Test931_testAgentThread()
180 pthread_barrier_destroy(&data.b); in Java_art_Test931_testAgentThread()