zkwlx / adi Goto Github PK
View Code? Open in Web Editor NEWADI(Android Debug Intensive) 是通过 JVMTI 实现的 Android 应用开发调试的增强工具集,目前主要提供性能相关的监控能力。
License: Apache License 2.0
ADI(Android Debug Intensive) 是通过 JVMTI 实现的 Android 应用开发调试的增强工具集,目前主要提供性能相关的监控能力。
License: Apache License 2.0
请问一下调用RetransformClasses方法在真机上都失败这个问题后续有跟进过么?
01-22 10:26:53.553 8110 8110 F DEBUG : #233 pc 0000000000008f14 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #234 pc 0000000000008c4c /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #235 pc 0000000000008744 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #236 pc 00000000000449b0 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::JvmtiEventAllocationListener::ObjectAllocated(art::Thread*, art::ObjPtrart::mirror::Object, unsigned long)+1912) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #237 pc 00000000002aa970 /apex/com.android.art/lib64/libart.so (art::mirror::Class::AllocObject(art::Thread)+776) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #238 pc 0000000000534cb0 /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureExtDataPresent(art::Handleart::mirror::Class, art::Thread*)+156) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #239 pc 000000000053cd8c /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureMethodIds(art::Handleart::mirror::Class)+52) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #240 pc 000000000045da98 /apex/com.android.art/lib64/libart.so (unsigned long art::jni::JniIdManager::EncodeGenericIdart::ArtMethod(art::ReflectiveHandleart::ArtMethod)+424) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #241 pc 000000000045d61c /apex/com.android.art/lib64/libart.so (art::jni::JniIdManager::EncodeMethodId(art::ArtMethod*)+128) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #242 pc 00000000000b42fc /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::GetStackTraceVisitoropenjdkjvmti::GetStackTraceDirectClosure::Run(art::Thread*)::'lambda'(_jvmtiFrameInfo)::VisitFrame()+108) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #243 pc 0000000000657634 /apex/com.android.art/lib64/libart.so (void art::StackVisitor::WalkStack<(art::StackVisitor::CountTransitions)0>(bool)+444) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #244 pc 00000000000b4260 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::GetStackTraceDirectClosure::Run(art::Thread*)+120) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #245 pc 0000000000680928 /apex/com.android.art/lib64/libart.so (art::Thread::RequestSynchronousCheckpoint(art::Closure*, art::ThreadState)+116) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #246 pc 00000000000ae250 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::StackUtil::GetStackTrace(_jvmtiEnv*, _jobject*, int, int, _jvmtiFrameInfo*, int*)+1512) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #247 pc 0000000000008f14 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #248 pc 0000000000008c4c /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #249 pc 0000000000008744 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #250 pc 00000000000449b0 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::JvmtiEventAllocationListener::ObjectAllocated(art::Thread*, art::ObjPtrart::mirror::Object, unsigned long)+1912) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.554 8110 8110 F DEBUG : #251 pc 00000000002aa970 /apex/com.android.art/lib64/libart.so (art::mirror::Class::AllocObject(art::Thread)+776) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #252 pc 0000000000534cb0 /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureExtDataPresent(art::Handleart::mirror::Class, art::Thread*)+156) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #253 pc 000000000053cd8c /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureMethodIds(art::Handleart::mirror::Class)+52) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #254 pc 000000000045da98 /apex/com.android.art/lib64/libart.so (unsigned long art::jni::JniIdManager::EncodeGenericIdart::ArtMethod(art::ReflectiveHandleart::ArtMethod)+424) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #255 pc 000000000045d61c /apex/com.android.art/lib64/libart.so (art::jni::JniIdManager::EncodeMethodId(art::ArtMethod*)+128) (BuildId: 72af07d94f85cacca2a9143d42e26483)
本地测试只有synchronize锁能检测到,ReentraceLock类型的锁无法检测到,wait+notify的也无法检测到,这个符合预期吗?
有考虑过通过JVMTI的方式对于线上的性能影响吗?影响数据有统计吗?
想了解下 以上能力 基于 jvmti 是否能够支持
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.