commit | 1b0d929fdc8bd6f1237cc453f503d7388545640c | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Sat Sep 06 14:25:55 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Sep 08 14:29:16 2014 -0700 |
tree | f5d72fcd1d7c4fd8ccdb744438368541322e34bf | |
parent | f48abd8f339755928b516dca8a939a5b7b799bd4 [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 (cherry picked from commit 6917aebf2eb26c2b003a72d09c1c5bb6310160b0) Change-Id: I0ccad53cb5f8f4f27fe11725a91ab45a117452a3