Home
last modified time | relevance | path

Searched refs:JVMTI_ERROR_NONE (Results 1 – 25 of 37) sorted by relevance

12

/art/test/ti-stress/
Dstress.cc97 if (JVMTI_ERROR_NONE != jvmti_env_->Allocate(size, &out)) { in DoExtractClassFromData()
128 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
178 return jvmtienv_->GetClassSignature(class_, &name_, nullptr) == JVMTI_ERROR_NONE && in Init()
234 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init()
241 if (err == JVMTI_ERROR_NONE) { in Init()
251 (jvmtienv_->GetMethodName(method_, &name_, &signature_, nullptr) == JVMTI_ERROR_NONE); in Init()
306 declaring_class_, field_, &name_, &type_, nullptr) == JVMTI_ERROR_NONE); in Init()
375 if (jvmtienv->GetClassSignature(klass, &cname, &cgen) != JVMTI_ERROR_NONE) { in GetName()
569 JVMTI_ERROR_NONE); in ClassPrepareHook()
573 if (jvmtienv->GetClassFields(klass, &nfields, &fields) != JVMTI_ERROR_NONE) { in ClassPrepareHook()
[all …]
/art/test/2005-pause-all-redefine-multithreaded/
Dpause-all.cc63 JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
68 JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
80 std::vector<jvmtiError> errs(threads.size(), JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
82 JVMTI_ERROR_NONE); in Java_art_Test2005_UpdateFieldValuesAndResumeThreads()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc42 if (err != JVMTI_ERROR_NONE || all_targets == nullptr) { in VMInitCB()
63 if (err != JVMTI_ERROR_NONE) { in VMInitCB()
78 } else if (jvmti_env->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
131 return jvmti_env_->GetClassSignature(class_, &name_, &generic_) == JVMTI_ERROR_NONE && in Init()
194 if (jvmti_env_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init()
201 if (err == JVMTI_ERROR_NONE) { in Init()
211 (jvmti_env_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init()
355 jvmtiError error = JVMTI_ERROR_NONE; in AgentStart()
369 if (error != JVMTI_ERROR_NONE) { in AgentStart()
376 if (error != JVMTI_ERROR_NONE) { in AgentStart()
[all …]
/art/test/918-fields/
Dfields.cc40 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldName()
72 if (result2 != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldName()
89 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldDeclaringClass()
106 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_getFieldModifiers()
123 if (result != JVMTI_ERROR_NONE) { in Java_art_Test918_isFieldSynthetic()
/art/test/936-search-onload/
Dsearch_onload.cc50 if (result != JVMTI_ERROR_NONE) { in OnLoad()
56 if (result != JVMTI_ERROR_NONE) { in OnLoad()
/art/test/920-objects/
Dobjects.cc35 if (result != JVMTI_ERROR_NONE) { in Java_art_Test920_getObjectSize()
51 if (result != JVMTI_ERROR_NONE) { in Java_art_Test920_getObjectHashCode()
/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc58 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
110 return jvmtienv_->GetClassSignature(class_, &name_, gen_ptr) == JVMTI_ERROR_NONE && in Init()
169 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init()
176 if (err == JVMTI_ERROR_NONE) { in Init()
186 (jvmtienv_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init()
341 if (err == JVMTI_ERROR_NONE) { in logVMObjectAlloc()
426 if (error != JVMTI_ERROR_NONE) { in AgentStart()
433 if (error != JVMTI_ERROR_NONE) { in AgentStart()
440 if (error != JVMTI_ERROR_NONE) { in AgentStart()
/art/test/901-hello-ti-agent/
Dbasics.cc36 if (error != JVMTI_ERROR_NONE) { in EnableEvent()
63 CHECK_EQ(jenv->GetCurrentThread(&cur_thr), JVMTI_ERROR_NONE); in VMDeathCallback()
76 if (ret != JVMTI_ERROR_NONE) { in InstallVMEvents()
145 if (phase_result != JVMTI_ERROR_NONE) { in OnLoad()
184 jvmtiError res = JVMTI_ERROR_NONE; in Java_art_Test901_checkUnattached()
Dexpected.txt14 0 = JVMTI_ERROR_NONE
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc147 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperty()
151 return JVMTI_ERROR_NONE; in WrapGetSystemProperty()
163 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
178 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
185 if (res != JVMTI_ERROR_NONE) { in WrapGetSystemProperties()
192 return JVMTI_ERROR_NONE; in WrapGetSystemProperties()
199 if (res != JVMTI_ERROR_NONE) { in WrapSetSystemProperty()
206 return JVMTI_ERROR_NONE; in WrapSetSystemProperty()
213 if (JVMTI_ERROR_NONE != real_env->Allocate(sizeof(ExtraJvmtiInterface), in SetupProxyJvmtiEnv()
/art/test/ti-agent/
Djvmti_helper.cc34 if (error != JVMTI_ERROR_NONE) { in CheckJvmtiError()
37 if (name_error != JVMTI_ERROR_NONE) { in CheckJvmtiError()
111 if (error == JVMTI_ERROR_NONE) { in JvmtiErrorToException()
132 case JVMTI_ERROR_NONE: in operator <<()
246 CHECK_EQ(jvmti->GetExtensionEvents(&n_ext, &infos), JVMTI_ERROR_NONE); in GetExtensionEventId()
Dredefinition_helper.cc159 if (res != JVMTI_ERROR_NONE) { in DoMultiClassRedefine()
340 CHECK_EQ(JVMTI_ERROR_NONE, jvmti_env->Allocate(desired_array.size(), &new_data)); in CommonClassFileLoadHookRetransformable()
379 if (res != JVMTI_ERROR_NONE) { in Java_art_Redefinition_enableCommonRetransformation()
399 if (res != JVMTI_ERROR_NONE) { in DoClassRetransformation()
408 if (caps_err != JVMTI_ERROR_NONE) { in Java_art_Redefinition_doCommonClassRetransformation()
478 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonRetransform()
484 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonRetransform()
499 CHECK_EQ(res, JVMTI_ERROR_NONE); in SetupCommonTransform()
/art/test/903-hello-tagging/
Dtagging.cc119 CHECK_EQ(JVMTI_ERROR_NONE, error); in CreateJvmtiEnv()
126 CHECK_EQ(JVMTI_ERROR_NONE, ret); in SetTag()
132 CHECK_EQ(JVMTI_ERROR_NONE, ret); in GetTag()
153 CHECK_EQ(JVMTI_ERROR_NONE, envs[i]->DisposeEnvironment()); in Java_art_Test903_testTagsInDifferentEnvs()
/art/test/1951-monitor-enter-no-suspend/
Draw_monitor.cc85 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
88 CHECK_EQ(err, JVMTI_ERROR_NONE); in Java_art_Test1951_otherThreadStart()
/art/test/1940-ddms-ext/
Dddm_ext.cc139 CHECK_EQ(JVMTI_ERROR_NONE, jvmti_env->RawMonitorExit(data->callback_mon)); in Java_art_Test1940_publishListen()
161 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&data))); in PublishCB()
162 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->RawMonitorEnter(data->callback_mon)); in PublishCB()
164 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->RawMonitorNotifyAll(data->callback_mon)); in PublishCB()
165 CHECK_EQ(JVMTI_ERROR_NONE, jvmti->RawMonitorExit(data->callback_mon)); in PublishCB()
/art/tools/jvmti-agents/dump-jvmti-state/
Ddump-jvmti.cc64 if (env->GetExtensionFunctions(&n_ext, &infos) != JVMTI_ERROR_NONE) { in SetupJvmtiEnv()
83 if (JVMTI_ERROR_NONE == GetInternalData(jvmti, &data)) { in CbDataDump()
/art/tools/jvmti-agents/enable-vlog/
Denablevlog.cc64 if (jvmti->GetExtensionFunctions(&n_ext, &infos) != JVMTI_ERROR_NONE) { in GetExtensionFunction()
102 } else if (svfe(jvmti, options, true) != JVMTI_ERROR_NONE) { in AgentStart()
/art/tools/jvmti-agents/list-extensions/
Dlist-extensions.cc101 if (env->GetExtensionFunctions(&n_ext, &infos) != JVMTI_ERROR_NONE) { in SetupJvmtiEnv()
117 CHECK_EQ(JVMTI_ERROR_NONE, env->GetErrorName(info.errors[j], &name)); in SetupJvmtiEnv()
127 if (env->GetExtensionEvents(&n_ext, &events) != JVMTI_ERROR_NONE) { in SetupJvmtiEnv()
/art/tools/jvmti-agents/jit-load/
Djitload.cc35 CHECK(vc == JNI_OK || vc == JVMTI_ERROR_NONE) << "call " << #c << " did not succeed\n"; \
59 JVMTI_ERROR_NONE); in VmInitCb()
/art/test/907-get-loaded-classes/
Dget_loaded_classes.cc48 if (result != JVMTI_ERROR_NONE) { in Java_art_Test907_getLoadedClasses()
/art/tools/jvmti-agents/simple-force-redefine/
Dforceredefine.cc76 CHECK_EQ(jvmti->GetEnvironmentLocalStorage(reinterpret_cast<void**>(&ai)), JVMTI_ERROR_NONE); in GetAgentInfo()
180 if (jvmti->GetLoadedClasses(&cnt, &klasses) != JVMTI_ERROR_NONE) { in FindClass()
186 if (jvmti->GetClassSignature(klasses[i], &sig, nullptr) != JVMTI_ERROR_NONE) { in FindClass()
285 if (jvmti->AddCapabilities(&caps) != JVMTI_ERROR_NONE) { in AgentStart()
/art/openjdkjvmti/
Djvmti_allocator.h122 CHECK(alloc_error == JVMTI_ERROR_NONE);
131 CHECK(dealloc_error == JVMTI_ERROR_NONE); in deallocate()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc135 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
187 return jvmtienv_->GetClassSignature(class_, &name_, gen_ptr) == JVMTI_ERROR_NONE && in Init()
246 if (jvmtienv_->GetMethodDeclaringClass(method_, &declaring_class_) != JVMTI_ERROR_NONE) { in Init()
253 if (err == JVMTI_ERROR_NONE) { in Init()
263 (jvmtienv_->GetMethodName(method_, &name_, &signature_, &generic_) == JVMTI_ERROR_NONE); in Init()
675 jvmtiError error = JVMTI_ERROR_NONE; in AgentStart()
699 if (error != JVMTI_ERROR_NONE) { in AgentStart()
709 if (error != JVMTI_ERROR_NONE) { in AgentStart()
717 if (error != JVMTI_ERROR_NONE) { in AgentStart()
/art/test/928-jni-table/
Djni_table.cc48 CHECK_EQ(jvmti_env->GetThreadInfo(reinterpret_cast<jthread>(o), &jti), JVMTI_ERROR_NONE); in DoDeleteGlobalRef()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc53 if (error != JVMTI_ERROR_NONE) { in EnableEvent()
126 if (ret != JVMTI_ERROR_NONE) { in InstallVMEvents()

12