Andreas Gampe ab8a63be6a 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
2018-01-15 13:04:25 -08:00
..
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00
2017-12-12 23:22:25 +00:00