OSDN Git Service

Code to reuse PlatformAddress objects. Minimizing garbage creation on the framework...
authort.mehrvarz <othy74@gmail.com>
Sat, 28 Feb 2009 06:25:46 +0000 (07:25 +0100)
committerJack Palevich <jackpal@google.com>
Wed, 20 May 2009 23:08:26 +0000 (16:08 -0700)
commit8493876016e383b59af707cb5184100374f7f353
tree633a7876b9cec227dabdca5e6e054d501829a3cd
parentd3c6d366379142d0784ab5fe973a939d462aca28
Code to reuse PlatformAddress objects. Minimizing garbage creation on the framework level and reducing the number of runtime GC-hiccups for OpenGL apps and animations.
2nd version: complete rewrite using 8 bit hash, up to 5 probes, cycle through probes cache replacement. (Thank you MichaelDt for your help.)
- 1st amend: applied requested modifications
- 2nd amend: comment openers, curly bracket
libcore/luni/src/main/java/org/apache/harmony/luni/platform/PlatformAddressFactory.java