commit | 8e696dc0271299433cb3297e7aafc7bd0ee1b2b7 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Fri Jul 24 15:28:16 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Fri Jul 24 15:28:16 2009 -0700 |
tree | 8332169917748e5195d117d74cb3ff44e88c7546 | |
parent | 8e5c78470229fd2f5474574081eaa4a2286aafea [diff] |
JNI direct buffer function speedup, part 3. This caches the effective address in a new field in the base Buffer object. The first time something calls through one of the various getEffectiveAddress calls, the value is set. (This seemed easier than chasing down the constructors and factories, and also prevents bit rot on the "slow path" in the VM.)