commit | 8e5c78470229fd2f5474574081eaa4a2286aafea | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Jul 23 17:47:18 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Thu Jul 23 17:53:05 2009 -0700 |
tree | 521f4754d97cdea94c5d9da208f043025851f7c0 | |
parent | 828311c1293ba533065895cc375abb143e14b69a [diff] |
JNI direct buffer function speedup, part 2. This converts the three direct buffer functions from JNI to internal VM calls. As a bonus, we grab PlatformAddress.osaddr directly instead of retrieving it with PlatformAddress.toLong(). We're still calling through getEffectiveAddress(), which is where most of the complexity lies. Nudged a couple of comments.