summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/17
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2019-03-04 14:15:18 -0800
committerAndreas Gampe <agampe@google.com>2019-04-11 15:48:26 -0700
commitaeb6fce5b33680bc538dbd66979a28bcba1329b4 (patch)
tree15d2889a6fde1e81b454561772de9d5b13c7cb80 /docs/html/sdk/api_diff/17
parentb652527e358e1542bd3f93e87fc7e1a399958f14 (diff)
Framework: Lock inversion checker
Add an agent-based lock inversion checker. The agent will dynamically rewrite bytecode to inject calls to LockHook, which runs a checker on these. Implement a simple on-thread checker that keeps a per-thread stack of locks and a global map of lock ordering. As-is, transitivity of checks is not guaranteed, but should be captured in most practical cases. To run a process with the lock checker, start the process with the agent. The helper script start_with_lockagent.sh can be used for this: adb shell setprop wrap.pkg-name script start_with_lockagent Bug: 124744938 Test: manual Change-Id: Idd9a7066a5b8cb8c0de2e995f08759c98d9473e1
Diffstat (limited to 'docs/html/sdk/api_diff/17')
0 files changed, 0 insertions, 0 deletions