/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 75 …ENT(SINGLE_STEP), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocation loc), (… 76 …try, EVENT(METHOD_ENTRY), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth), (jvmti, … 77 …METHOD_EXIT), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jboolean jb, jvalue j… 78 …_METHOD_BIND), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, void* v1, void** v2)… 79 …Env* jvmti, JNIEnv* jni, jthread thread, jmethodID meth1, jlocation loc1, jobject obj, jmethodID m… 80 …ION_CATCH), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jmethodID meth, jlocation loc, jobject … 81 …ThreadStart, EVENT(THREAD_START), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni, jth… 82 …fun(ThreadEnd, EVENT(THREAD_END), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread), (jvmti, jni, jth… 83 …ssLoad, EVENT(CLASS_LOAD), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jclass klass), (jvmti, j… 84 …are, EVENT(CLASS_PREPARE), (jvmtiEnv* jvmti, JNIEnv* jni, jthread thread, jclass klass), (jvmti, j… [all …]
|
/art/runtime/ |
D | reflection_test.cc | 143 InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), nullptr); in InvokeNopMethod() 155 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 159 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 163 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 168 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityByteMethod() 181 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod() 185 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod() 189 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod() 193 result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityIntMethod() 206 JValue result = InvokeWithJValues(soa, receiver_ref.get(), jni::EncodeArtMethod(method), args); in InvokeIdentityDoubleMethod() [all …]
|
D | class_loader_utils.h | 76 jni::DecodeArtField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)-> in VisitClassLoaderDexElements() 81 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList_dexElements)-> in VisitClassLoaderDexElements() 118 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexFile_cookie); in VisitClassLoaderDexFiles() 120 jni::DecodeArtField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile); in VisitClassLoaderDexFiles()
|
D | native_bridge_art_interface.cc | 37 ArtMethod* m = jni::DecodeArtMethod(mid); in GetMethodShorty()
|
D | Android.bp | 120 "jni/check_jni.cc", 121 "jni/java_vm_ext.cc", 122 "jni/jni_env_ext.cc", 123 "jni/jni_internal.cc", 231 "entrypoints/jni/jni_entrypoints.cc", 629 "jni/java_vm_ext_test.cc", 630 "jni/jni_internal_test.cc",
|
/art/openjdkjvmti/ |
D | ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage() local 100 jni->AddLocalReference<jthread>(info.owner_->GetPeerFromOtherThread()) : nullptr; in GetObjectMonitorUsage() 105 notify_wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage() 106 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage() 113 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
|
D | ti_field.cc | 64 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldName() 137 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldDeclaringClass() 160 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldModifiers() 183 art::ArtField* art_field = art::jni::DecodeArtField(field); in IsFieldSynthetic() 199 auto res_pair = env->modify_watched_fields.insert(art::jni::DecodeArtField(field)); in SetFieldModificationWatch() 216 auto pos = env->modify_watched_fields.find(art::jni::DecodeArtField(field)); in ClearFieldModificationWatch() 233 auto res_pair = env->access_watched_fields.insert(art::jni::DecodeArtField(field)); in SetFieldAccessWatch() 250 auto pos = env->access_watched_fields.find(art::jni::DecodeArtField(field)); in ClearFieldAccessWatch()
|
D | ti_method.cc | 85 art::jni::EncodeArtMethod(method), in RegisterNativeMethod() 120 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetBytecodes() 153 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetArgumentsSize() 188 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLocalVariableTable() 274 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMaxLocals() 303 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodName() 370 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodDeclaringClass() 387 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodLocation() 419 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetMethodModifiers() 443 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method); in GetLineNumberTable() [all …]
|
D | ti_breakpoint.cc | 94 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in SetBreakpoint() 118 art::ArtMethod* art_method = art::jni::DecodeArtMethod(method)->GetCanonicalMethod(); in ClearBreakpoint()
|
D | ti_threadgroup.cc | 107 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_name); in GetThreadGroupInfo() 130 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_parent); in GetThreadGroupInfo() 162 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_Thread_group); in IsInDesiredThreadGroup() 195 art::jni::DecodeArtField(art::WellKnownClasses::java_lang_ThreadGroup_groups); in GetChildThreadGroups()
|
D | events.cc | 427 art::ArtField* parkBlockerField = art::jni::DecodeArtField( in ThreadParkStart() 485 art::ArtField* parkBlockerField = art::jni::DecodeArtField( in ThreadParkFinished() 588 art::jni::EncodeArtMethod(method)); in MethodEntered() 613 art::jni::EncodeArtMethod(method), in MethodExited() 641 art::jni::EncodeArtMethod(method), in MethodExited() 668 art::jni::EncodeArtMethod(method), in MethodUnwind() 692 jmethodID jmethod = art::jni::EncodeArtMethod(method); in DexPcMoved() 721 art::jni::EncodeArtMethod(method), in FieldRead() 725 art::jni::EncodeArtField(field)); in FieldRead() 750 art::jni::EncodeArtMethod(method), in FieldWritten() [all …]
|
D | ti_class_loader-inl.h | 51 art::ArtField* element_dex_file_field = art::jni::DecodeArtField( in VisitDexFileObjects()
|
D | ti_class_loader.cc | 147 art::ArtField* path_list_field = art::jni::DecodeArtField( in GetDexElementList() 150 art::jni::DecodeArtField(art::WellKnownClasses::dalvik_system_DexPathList_dexElements); in GetDexElementList()
|
/art/tools/jvmti-agents/jit-load/ |
D | jitload.cc | 129 JNIEnv* jni = nullptr; in Agent_OnAttach() local 131 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)); in Agent_OnAttach() 135 VmInitCb(jvmti, jni, thr); in Agent_OnAttach() 137 jni->DeleteLocalRef(thr); in Agent_OnAttach()
|
/art/test/913-heaps/ |
D | expected.txt | 3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=… 45 root@root --(jni-global)--> 1@1000 [size=16, length=-1] 46 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-… 47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=… 101 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=… 111 root@root --(jni-global)--> 1@1000 [size=16, length=-1] 112 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-… 113 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=… 175 root@root --(jni-global)--> 1@1000 [size=16, length=-1] 176 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-… [all …]
|
/art/runtime/mirror/ |
D | method_handles_lookup.cc | 45 ArtMethod* lookup = jni::DecodeArtMethod(WellKnownClasses::java_lang_invoke_MethodHandles_lookup); in GetDefault() 55 jni::DecodeArtMethod(WellKnownClasses::java_lang_invoke_MethodHandles_Lookup_findConstructor); in FindConstructor()
|
/art/compiler/ |
D | Android.bp | 37 "jni/quick/calling_convention.cc", 38 "jni/quick/jni_compiler.cc", 97 "jni/quick/arm/calling_convention_arm.cc", 113 "jni/quick/arm64/calling_convention_arm64.cc", 126 "jni/quick/mips/calling_convention_mips.cc", 138 "jni/quick/mips64/calling_convention_mips64.cc", 148 "jni/quick/x86/calling_convention_x86.cc", 163 "jni/quick/x86_64/calling_convention_x86_64.cc", 356 "jni/jni_compiler_test.cc", 388 "jni/jni_cfi_test.cc",
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 215 static void AgentMain(jvmtiEnv* jvmti, JNIEnv* jni, void* arg ATTRIBUTE_UNUSED) { in AgentMain() argument 226 RedefineClass(jvmti, jni, klass_name); in AgentMain() 298 JNIEnv* jni = nullptr; in AgentStart() local 299 vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_2); in AgentStart() 302 CbVmInit(jvmti, jni, thr); in AgentStart()
|
/art/runtime/jni/ |
D | jni_internal.h | 42 namespace jni {
|
D | java_vm_ext.cc | 130 VLOG(jni) << "[" << *self << " waiting for \"" << path_ << "\" " << "JNI_OnLoad...]"; in CheckOnLoadResult() 135 VLOG(jni) << "[Earlier JNI_OnLoad for \"" << path_ << "\" " in CheckOnLoadResult() 324 VLOG(jni) << "[Found native code for " << jni_long_name in FindNativeMethodInternal() 367 VLOG(jni) << "[No JNI_OnUnload found in \"" << library->GetPath() << "\"]"; in UnloadLibraries() 369 VLOG(jni) << "[JNI_OnUnload found for \"" << library->GetPath() << "\"]: Calling..."; in UnloadLibraries() 977 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in " in LoadNativeLibrary() 1014 VLOG(jni) << "[Call to dlopen(\"" << path << "\", RTLD_NOW) returned " << handle << "]"; in LoadNativeLibrary() 1019 VLOG(jni) << "dlopen(\"" << path << "\", RTLD_NOW) failed: " << *error_msg; in LoadNativeLibrary() 1055 VLOG(jni) << "[Added shared library \"" << path << "\" for ClassLoader " << class_loader << "]"; in LoadNativeLibrary() 1060 VLOG(jni) << "[No JNI_OnLoad found in \"" << path << "\"]"; in LoadNativeLibrary() [all …]
|
/art/libartbase/base/ |
D | logging.h | 43 bool jni; member
|
/art/tools/amm/ |
D | Android.bp | 21 "AmmTest/jni/ammtest.c",
|
/art/compiler/jni/quick/x86/ |
D | calling_convention_x86.cc | 67 static ManagedRegister ReturnRegisterForShorty(const char* shorty, bool jni) { in ReturnRegisterForShorty() argument 69 if (jni) { in ReturnRegisterForShorty()
|
/art/benchmark/ |
D | Android.bp | 24 "jni-perf/perf_jni.cc",
|
/art/test/ |
D | Android.bp | 255 "928-jni-table/jni_table.cc", 463 "136-daemon-jni-shutdown/daemon_jni_shutdown.cc", 471 "169-threadgroup-jni/jni_daemon_thread.cc", 491 "647-jni-get-field-id/get_field_id.cc", 492 "656-annotation-lookup-generic-jni/test.cc", 495 "667-jit-jni-stub/jit_jni_stub_test.cc", 499 "800-smali/jni.cc", 602 "928-jni-table/src/art/Test928.java", 704 "928-jni-table/expected.txt",
|