Lines Matching refs:data
85 MonitorsData* data = nullptr; in monitorEnterCB() local
87 jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)))) { in monitorEnterCB()
90 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorEnterCB()
93 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_enter, thr, obj); in monitorEnterCB()
99 MonitorsData* data = nullptr; in monitorEnteredCB() local
101 jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)))) { in monitorEnteredCB()
104 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorEnteredCB()
107 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_entered, thr, obj); in monitorEnteredCB()
114 MonitorsData* data = nullptr; in monitorWaitCB() local
116 jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)))) { in monitorWaitCB()
119 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorWaitCB()
122 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_wait, thr, obj, timeout); in monitorWaitCB()
129 MonitorsData* data = nullptr; in monitorWaitedCB() local
131 jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data)))) { in monitorWaitedCB()
134 if (!jnienv->IsInstanceOf(obj, data->monitor_klass)) { in monitorWaitedCB()
137 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_waited, thr, obj, timed_out); in monitorWaitedCB()
150 MonitorsData* data = nullptr; in Java_art_Monitors_setupMonitorEvents() local
154 reinterpret_cast<unsigned char**>(&data)))) { in Java_art_Monitors_setupMonitorEvents()
164 memset(data, 0, sizeof(MonitorsData)); in Java_art_Monitors_setupMonitorEvents()
165 data->test_klass = reinterpret_cast<jclass>(env->NewGlobalRef(test_klass)); in Java_art_Monitors_setupMonitorEvents()
166 data->monitor_enter = env->FromReflectedMethod(monitor_enter); in Java_art_Monitors_setupMonitorEvents()
167 data->monitor_entered = env->FromReflectedMethod(monitor_entered); in Java_art_Monitors_setupMonitorEvents()
168 data->monitor_wait = env->FromReflectedMethod(monitor_wait); in Java_art_Monitors_setupMonitorEvents()
169 data->monitor_waited = env->FromReflectedMethod(monitor_waited); in Java_art_Monitors_setupMonitorEvents()
170 data->monitor_klass = reinterpret_cast<jclass>(env->NewGlobalRef(monitor_klass)); in Java_art_Monitors_setupMonitorEvents()
181 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->SetEnvironmentLocalStorage(data))) { in Java_art_Monitors_setupMonitorEvents()