Lines Matching refs:CHECK_JVMTI

34 #define CHECK_JVMTI(x) CHECK_EQ((x), JVMTI_ERROR_NONE)  macro
103 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in DataDumpRequestCb()
109 CHECK_JVMTI(jvmti->IterateOverInstancesOfClass( in DataDumpRequestCb()
123 CHECK_JVMTI(jvmti->GetObjectsWithTags(1, &tag, &obj_len, &obj_list, nullptr)); in DataDumpRequestCb()
140 CHECK_JVMTI(jvmti->SetTag(obj.get(), referenced_object_tag)); in DataDumpRequestCb()
145 CHECK_JVMTI(jvmti->GetClassSignature(obj_klass.get(), &class_name_tmp, nullptr)); in DataDumpRequestCb()
146 CHECK_JVMTI(jvmti->GetObjectSize(obj.get(), &size)); in DataDumpRequestCb()
148 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(class_name_tmp))); in DataDumpRequestCb()
159 CHECK_JVMTI(jvmti->GetObjectsWithTags(1, &referenced_object_tag, &ref_len, &ref_list, nullptr)); in DataDumpRequestCb()
167 CHECK_JVMTI(jvmti->GetClassSignature(obj_klass.get(), &class_name_tmp, nullptr)); in DataDumpRequestCb()
168 CHECK_JVMTI(jvmti->GetObjectSize(obj.get(), &size)); in DataDumpRequestCb()
170 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(class_name_tmp))); in DataDumpRequestCb()
179 CHECK_JVMTI(jvmti->GetFieldName(klass, field, &field_name, &field_sig, nullptr)); in DataDumpRequestCb()
180 CHECK_JVMTI(jvmti->GetClassSignature(klass, &field_class_name, nullptr)); in DataDumpRequestCb()
192 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_name))); in DataDumpRequestCb()
193 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_sig))); in DataDumpRequestCb()
194 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_class_name))); in DataDumpRequestCb()
201 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMDeathCb()
207 CHECK_JVMTI(jvmti->Allocate(sizeof(*list), reinterpret_cast<unsigned char**>(&list))); in CreateFieldList()
211 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(list)); in CreateFieldList()
216 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&args))); in VMInitCb()
217 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(nullptr)); in VMInitCb()
219 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_DEATH, nullptr)); in VMInitCb()
220 CHECK_JVMTI( in VMInitCb()
222 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(args))); in VMInitCb()
236 CHECK_JVMTI(jvmti->AddCapabilities(&caps)); in AgentStart()
242 CHECK_JVMTI(jvmti->SetEventCallbacks(&cb, sizeof(cb))); in AgentStart()
245 CHECK_JVMTI(jvmti->Allocate(strlen(options) + 1, &ptr)); in AgentStart()
247 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(ptr)); in AgentStart()
248 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, nullptr)); in AgentStart()
253 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_DEATH, nullptr)); in AgentStart()
254 CHECK_JVMTI( in AgentStart()