diff options
author | Olivier Gaillard <gaillard@google.com> | 2018-07-30 14:09:22 +0100 |
---|---|---|
committer | Olivier Gaillard <gaillard@google.com> | 2018-07-31 15:18:12 +0000 |
commit | 1f93a77b5c5e308aaf2c492fd31c3f8e23c7b375 (patch) | |
tree | adae437be9fa8d579f5460095162f1d98ea8307e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bd49376225b0db80f6a49aa18e9c147695742784 (diff) |
Resolves transaction codes lazily when a dump is requested.
This change allows to save:
- some memory by removing the method name from CallStat and CallSession
- some CPU by not calling binder.resolveCode for every binder call
at the expense of some hackiness (calling getDefaultTransactionCode
using reflection)
BinderCallsStats#getExportedCallsStats is now more costly to call but it
will be invoked only once a day only.
Test: unit test
Change-Id: Id4f933644c6da9d4aa2d0671db4ab80676eac1b0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions