ActivityThread: Attempt to attach agent with app's classloader
Try to use the app's (main) classloader when an attach-agent request is handled. If that fails, retry without a classloader. Add bind-application-time flag to ProfilerInfo. Use the flag to have a second attach-agent point on app startup. Add --attach-agent-bind to cmd activity start to expose the difference between pre-bind and bind-time attaching. Bug: 70901841 Test: m Test: cts-tradefed run commandAndExit cts-dev -m CtsJvmtiAttachingHostTestCases Change-Id: I21698ec3be43a6d095d577100b2adfb22daca7d5
Loading
Please register or sign in to comment