diff options
| author | 2014-09-10 12:56:21 -0700 | |
|---|---|---|
| committer | 2014-09-10 12:57:29 -0700 | |
| commit | b4e5061fd6e0b665e025713643378ec31188cff2 (patch) | |
| tree | e42b3f9c0de40e0fd133e7ee371c49650ca6e5b0 /libs/hwui/ProgramCache.cpp | |
| parent | 6cb95276c3ead697f18e3d211c8d5b5ffacf379f (diff) | |
Change EmptyArray System.identityHashCode to Object.hashCode.
Equivalent behavior, improves performance since
Object.hashCode has a fast path in the java side that does not
require JNI.
According to traceview sampling profiler:
Calendar had 6.8% time in System.identityHashCode during launch.
0.4% time in System.identityHashCode after the change.
Bug: 16828525
Change-Id: I1ed1d1283a990f990b0d4352cc1f4822b1dadf7b
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions