/art/runtime/openjdkjvmti/ |
ti_monitor.cc | 184 jvmtiError MonitorUtil::CreateRawMonitor(jvmtiEnv* env ATTRIBUTE_UNUSED, 197 jvmtiError MonitorUtil::DestroyRawMonitor(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 212 jvmtiError MonitorUtil::RawMonitorEnter(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 225 jvmtiError MonitorUtil::RawMonitorExit(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 240 jvmtiError MonitorUtil::RawMonitorWait(jvmtiEnv* env ATTRIBUTE_UNUSED, 272 jvmtiError MonitorUtil::RawMonitorNotify(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { 287 jvmtiError MonitorUtil::RawMonitorNotifyAll(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) {
|
ti_class_definition.cc | 62 jvmtiError ArtClassDefinition::InitCommon(ArtJvmTiEnv* env, jclass klass) { 83 static jvmtiError GetDexDataForRetransformation(ArtJvmTiEnv* env, 133 jvmtiError ArtClassDefinition::Init(ArtJvmTiEnv* env, jclass klass) { 134 jvmtiError res = InitCommon(env, klass); 165 jvmtiError ArtClassDefinition::Init(ArtJvmTiEnv* env, const jvmtiClassDefinition& def) { 166 jvmtiError res = InitCommon(env, def.klass);
|
ti_threadgroup.cc | 55 jvmtiError ThreadGroupUtil::GetTopThreadGroups(jvmtiEnv* env, 76 jvmtiError result = env->Allocate(sizeof(jthreadGroup), &data); 90 jvmtiError ThreadGroupUtil::GetThreadGroupInfo(jvmtiEnv* env, 119 jvmtiError result; 215 jvmtiError ThreadGroupUtil::GetThreadGroupChildren(jvmtiEnv* env, 245 jvmtiError res; 254 jvmtiError res;
|
ti_thread.cc | 146 jvmtiError ThreadUtil::GetCurrentThread(jvmtiEnv* env ATTRIBUTE_UNUSED, jthread* thread_ptr) { 185 jvmtiError ThreadUtil::GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { 205 jvmtiError name_result; 256 jvmtiError name_result; 435 jvmtiError ThreadUtil::GetThreadState(jvmtiEnv* env ATTRIBUTE_UNUSED, 499 jvmtiError ThreadUtil::GetAllThreads(jvmtiEnv* env, 532 jvmtiError data_result = env->Allocate(peers.size() * sizeof(jthread), &data); 570 jvmtiError ThreadUtil::SetThreadLocalStorage(jvmtiEnv* env, jthread thread, const void* data) { 593 jvmtiError ThreadUtil::GetThreadLocalStorage(jvmtiEnv* env, 664 jvmtiError ThreadUtil::RunAgentThread(jvmtiEnv* jvmti_env [all...] |
ti_breakpoint.cc | 78 jvmtiError BreakpointUtil::SetBreakpoint(jvmtiEnv* jenv, jmethodID method, jlocation location) { 98 jvmtiError BreakpointUtil::ClearBreakpoint(jvmtiEnv* jenv, jmethodID method, jlocation location) {
|
ti_class.cc | 586 jvmtiError ClassUtil::GetClassFields(jvmtiEnv* env, 612 jvmtiError allocError = env->Allocate(array_size * sizeof(jfieldID), &out_ptr); 634 jvmtiError ClassUtil::GetClassMethods(jvmtiEnv* env, 657 jvmtiError allocError = env->Allocate(array_size * sizeof(jmethodID), &out_ptr); 683 jvmtiError ClassUtil::GetImplementedInterfaces(jvmtiEnv* env, 707 jvmtiError allocError = env->Allocate(array_size * sizeof(jclass), &out_ptr); 734 jvmtiError ClassUtil::GetClassSignature(jvmtiEnv* env, 749 jvmtiError ret; 770 jvmtiError ret; 789 jvmtiError ClassUtil::GetClassStatus(jvmtiEnv* env ATTRIBUTE_UNUSED [all...] |
ti_stack.cc | 144 static jvmtiError TranslateFrameVector(const std::vector<jvmtiFrameInfo>& frames, 209 static jvmtiError GetThread(JNIEnv* env, 237 jvmtiError StackUtil::GetStackTrace(jvmtiEnv* jvmti_env ATTRIBUTE_UNUSED, 249 jvmtiError thread_error = GetThread(art::Thread::Current()->GetJniEnv(), 352 jvmtiError StackUtil::GetAllStackTraces(jvmtiEnv* env, 436 jvmtiError translate_result = TranslateFrameVector(thread_frames, 453 jvmtiError alloc_result = env->Allocate(chunk_size, &chunk_data); 488 jvmtiError StackUtil::GetThreadListStackTraces(jvmtiEnv* env, 598 jvmtiError translate_result = TranslateFrameVector(thread_frames, 616 jvmtiError alloc_result = env->Allocate(chunk_size, &chunk_data) [all...] |
jvmti_allocator.h | 120 jvmtiError alloc_error = env_->Allocate(n * sizeof(T), &result); 129 jvmtiError dealloc_error = env_->Deallocate(reinterpret_cast<unsigned char*>(p));
|
ti_heap.cc | 74 jvmtiError alloc_error; 152 jvmtiError alloc_error; 657 static jvmtiError DoIterateThroughHeap(T fn, 735 jvmtiError HeapUtil::IterateThroughHeap(jvmtiEnv* env, [all...] |
ti_redefine.cc | 222 jvmtiError Redefiner::IsModifiableClass(jvmtiEnv* env ATTRIBUTE_UNUSED, 239 jvmtiError Redefiner::GetClassRedefinitionError(art::Handle<art::mirror::Class> klass, 310 jvmtiError Redefiner::RedefineClasses(ArtJvmTiEnv* env, 334 jvmtiError res = env->IsModifiableClass(definitions[i].klass, &is_modifiable); 359 jvmtiError res = Transformer::RetransformClassesDirect(env, 370 jvmtiError Redefiner::RedefineClassesDirect(ArtJvmTiEnv* env, 389 jvmtiError res = r.AddRedefinition(env, def); 398 jvmtiError Redefiner::AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) { 400 jvmtiError ret = OK; 484 void Redefiner::RecordFailure(jvmtiError result [all...] |
/art/test/905-object-free/ |
tracking_free.cc | 54 jvmtiError ret = jenv->SetEventCallbacks(&callbacks, sizeof(callbacks)); 70 jvmtiError ret = jvmti_env->SetEventNotificationMode( 100 jvmtiError ret = jvmti_env2->SetTag(obj, tag);
|
/art/test/925-threadgroups/ |
threadgroups.cc | 42 jvmtiError result = jvmti_env->GetTopThreadGroups(&group_count, &groups); 60 jvmtiError result = jvmti_env->GetThreadGroupInfo(group, &info); 96 jvmtiError result = jvmti_env->GetThreadGroupChildren(group,
|
/cts/hostsidetests/jvmti/base/jni/ |
tagging.cpp | 31 jvmtiError ret = jvmti_env->SetTag(obj, tag); 38 jvmtiError ret = jvmti_env->GetTag(obj, &tag); 67 jvmtiError ret = jvmti_env->GetObjectsWithTags(scoped_array.size(),
|
tracking.cpp | 66 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); 72 jvmtiError ret = jvmti_env->SetEventNotificationMode(
|
/art/test/912-classes/ |
classes.cc | 41 jvmtiError result = jvmti_env->IsModifiableClass(klass, &res); 50 jvmtiError result = jvmti_env->GetClassSignature(klass, &sig, &gen); 78 jvmtiError result = jvmti_env->IsInterface(klass, &is_interface); 86 jvmtiError result = jvmti_env->IsArrayClass(klass, &is_array_class); 94 jvmtiError result = jvmti_env->GetClassModifiers(klass, &mod); 103 jvmtiError result = jvmti_env->GetClassFields(klass, &count, &fields); 128 jvmtiError result = jvmti_env->GetClassMethods(klass, &count, &methods); 153 jvmtiError result = jvmti_env->GetImplementedInterfaces(klass, &count, &classes); 171 jvmtiError result = jvmti_env->GetClassStatus(klass, &status); 179 jvmtiError result = jvmti_env->GetClassLoader(klass, &classloader) [all...] |
classes_art.cc | 43 jvmtiError ret = jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, 60 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); 105 jvmtiError res = jvmti_env->GetLoadedClasses(&class_count, &classes); 113 jvmtiError res2 = jvmti_env->GetClassSignature(classes[i], &sig, nullptr);
|
/art/test/933-misc-events/ |
misc_events.cc | 45 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
/art/test/ti-agent/ |
redefinition_helper.cc | 42 jvmtiError res) { 100 jvmtiError res) { 118 jvmtiError res = jvmti_env->RedefineClasses(num_redefines, defs.data()); 286 jvmtiError res = jvmti_env->SetEventNotificationMode(enable ? JVMTI_ENABLE : JVMTI_DISABLE, 298 jvmtiError res) { 308 jvmtiError res = jvmti_env->RetransformClasses(len, classes.data()); 317 jvmtiError caps_err = jvmti_env->GetCapabilities(&caps); 388 jvmtiError res = jvmti_env->SetEventCallbacks(&cb, sizeof(cb)); 405 jvmtiError res = jvmti_env->SetEventCallbacks(&cb, sizeof(cb));
|
jni_binder.cc | 85 jvmtiError name_result = jvmti_env->GetMethodName(method, &name_cstr, &sig_cstr, nullptr); 93 jvmtiError klass_result = jvmti_env->GetClassSignature(klass, &klass_name, nullptr); 235 jvmtiError methods_result = jvmti_env->GetClassMethods(klass, &method_count, &methods); 241 jvmtiError mod_result = jvmti_env->GetMethodModifiers(methods[i], &modifiers);
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
cts_agent.cpp | 36 jvmtiError result = jenv->GetClassSignature(klass, &name, nullptr); 57 jvmtiError ret = jvmti_env->SetEventNotificationMode(JVMTI_DISABLE, 74 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
/art/test/904-object-allocation/ |
tracking.cc | 72 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); 78 jvmtiError ret = jvmti_env->SetEventNotificationMode(
|
/art/test/903-hello-tagging/ |
tagging.cc | 54 jvmtiError ret = jvmti_env->GetObjectsWithTags(scoped_array.size(), 118 jvmtiError error = new_jvmti_env->AddCapabilities(&capa); 125 jvmtiError ret = env->SetTag(obj, tag); 131 jvmtiError ret = env->GetTag(obj, &tag);
|
/art/test/907-get-loaded-classes/ |
get_loaded_classes.cc | 46 jvmtiError result = jvmti_env->GetLoadedClasses(&count, &classes);
|
/art/test/913-heaps/ |
heaps.cc | 49 jvmtiError ret = jvmti_env->ForceGarbageCollection(); 99 jvmtiError ret = jvmti_env->FollowReferences(heap_filter, 568 jvmtiError ret = jvmti_env->FollowReferences(0, nullptr, initial_object, &callbacks, &fsc); 666 jvmtiError ret = jvmti_env->FollowReferences(0, nullptr, initial_object, &callbacks, &fac); 756 jvmtiError ret = jvmti_env->FollowReferences(0, nullptr, initial_object, &callbacks, &ffc); 783 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); 790 jvmtiError ret = jvmti_env->SetEventNotificationMode( [all...] |
/art/test/906-iterate-heap/ |
iterate_heap.cc | 64 jvmtiError ret = jvmti_env->IterateThroughHeap(heap_filter, 229 jvmtiError ret = jvmti_env->IterateThroughHeap(0, nullptr, &callbacks, &fsc); 317 jvmtiError ret = jvmti_env->IterateThroughHeap(0, nullptr, &callbacks, &fac); 404 jvmtiError ret = jvmti_env->IterateThroughHeap(0, nullptr, &callbacks, &ffc); 414 jvmtiError error = jvmti_env->GetClassStatus(c, &status);
|