commit | b4f845a6b2daf3ad43cbe111467b6fd5ebd27d44 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Sep 10 12:56:21 2014 -0700 |
committer | The Android Automerger <android-build@google.com> | Wed Sep 10 15:28:26 2014 -0700 |
tree | 79c6a6fcd9cf94feabc91475f8f0ffc87b914741 | |
parent | d096763e06b785637b22532e14acb5b353409d6c [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