diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-09-06 14:25:55 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-09-08 13:56:33 -0700 |
commit | 6917aebf2eb26c2b003a72d09c1c5bb6310160b0 (patch) | |
tree | 3882a7ad61cf04dbd620019abf95925cd92f9158 /annotations/generate_annotated_java_files.py | |
parent | d0ce966016703de5783ac5097131d7a738d8b007 (diff) |
Add handling for hashed uninflated object.
This is an Optimization to reduce how often we call
System.identityHashCode. If the lockword is set to the hash code
state then we simply return this value. Otherwise, we use
System.identityHashCode.
Maps launch exclusive time spent in System.identityHashCode:
Before: 4.5%
After: 2.4%
Bug: 16828525
Change-Id: Ic60280b859547cd7fa7db97005a1aa9340c58304
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions