aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2009-07-22 15:07:27 -0700
committerAndy McFadden <fadden@android.com>2009-07-22 15:13:01 -0700
commit5f612b82bbc2fcfb13865acd3c3835febab23466 (patch)
tree599bcfbfcafee012919f71af86172e6fd21df292 /vm/compiler/codegen/CompilerCodegen.h
parent6fbc4eb48bf368199f31a25fae60f8f7a378cc52 (diff)
JNI direct buffer function speedup, part 1.
This is a fairly straightforward improvement to GetDirectBufferAddress, caching classes and methodIDs instead of looking them up on every call. This is the best we can do without making the function more vulnerable to internal changes to Harmony's NIO implementation. It looks like we need to take this farther, but this way we have a relatively fast and relatively safe version to fall back on. For internal bug 1943379.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions