aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2009-10-21 15:44:25 -0700
committerJesse Wilson <jessewilson@google.com>2009-10-22 20:52:29 -0700
commit33c444ba317fa11a0fc7107fffebfaf48596adbd (patch)
tree8a959b96dfc66f6c44d59df3d79761b11c826e72 /vm/compiler/codegen/CompilerCodegen.h
parenta5b88a9318f583a082bd27ed745d886f545a6532 (diff)
Expose hooks for more efficient log handling in Android apps.
This change introduces a new interface, DalvikLogHandler. Log handlers that implement it opt-in to more efficient log handling for common-case log messages. The API requires far fewer objects to be allocated to log a message. A related change in frameworks/base adopts this optimization in the built-in AndroidHandler. This optimization resulted in a 2.75x improvement on my device: from 154ns to 56ns per message.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions