93db63059ad5e9e1d59c8ce013559069d566ef4c |
|
13-May-2017 |
Alan Leung <acleung@google.com> |
ASM Priority Boost Tool This tool is a replacement for the Jack plugin that allows injection of static method calls before lock enter and exit. A common use case would be to boost a thread's priority as soon as it acquires a heavily contented lock and resetting the priority upon release. This tool is meant to be optionally invoked from /build/core/ rules during the build process. Test: JUnit Tests / resulting image on a bullhead. Change-Id: If400414a0bf50f03768a1de2ebee42086a9d701f
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/LockTarget.java
|