Lines Matching refs:CHECK_JVMTI

32 #define CHECK_JVMTI(x) CHECK_EQ((x), JVMTI_ERROR_NONE)  macro
100 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in DataDumpRequestCb()
106 CHECK_JVMTI(jvmti->IterateOverInstancesOfClass( in DataDumpRequestCb()
120 CHECK_JVMTI(jvmti->GetObjectsWithTags(1, &tag, &obj_len, &obj_list, nullptr)); in DataDumpRequestCb()
132 CHECK_JVMTI(jvmti->GetFieldName(klass, field, &field_name, &field_sig, nullptr)); in DataDumpRequestCb()
133 CHECK_JVMTI(jvmti->GetClassSignature(klass, &class_name, nullptr)); in DataDumpRequestCb()
137 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_name))); in DataDumpRequestCb()
138 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(field_sig))); in DataDumpRequestCb()
139 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(class_name))); in DataDumpRequestCb()
146 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&list))); in VMDeathCb()
152 CHECK_JVMTI(jvmti->Allocate(sizeof(*list), reinterpret_cast<unsigned char**>(&list))); in CreateFieldList()
154 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(list)); in CreateFieldList()
159 CHECK_JVMTI(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&args))); in VMInitCb()
160 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(nullptr)); in VMInitCb()
162 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_DEATH, nullptr)); in VMInitCb()
163 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, in VMInitCb()
166 CHECK_JVMTI(jvmti->Deallocate(reinterpret_cast<unsigned char*>(args))); in VMInitCb()
178 CHECK_JVMTI(jvmti->AddCapabilities(&caps)); in AgentStart()
184 CHECK_JVMTI(jvmti->SetEventCallbacks(&cb, sizeof(cb))); in AgentStart()
187 CHECK_JVMTI(jvmti->Allocate(strlen(options) + 1, &ptr)); in AgentStart()
189 CHECK_JVMTI(jvmti->SetEnvironmentLocalStorage(ptr)); in AgentStart()
190 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, nullptr)); in AgentStart()
195 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_DEATH, nullptr)); in AgentStart()
196 CHECK_JVMTI(jvmti->SetEventNotificationMode(JVMTI_ENABLE, in AgentStart()