commit | 5e5e2f552430c3b6e352ef43395b20af8688a90e | [log] [tgz] |
---|---|---|
author | Sam Berlin <sameb@google.com> | Fri Dec 06 17:04:18 2013 -0500 |
committer | Sam Berlin <sameb@google.com> | Fri Dec 06 17:34:23 2013 -0500 |
tree | 5fa839c05caf41e7eb7c5023faa7288e5745ead5 | |
parent | 338213332308fc9932603b2f4c853a4a7d19cc13 [diff] |
Don't unnecessarily invoke Key#toString() when running in non-HTTP based RequestScope. Key#toString() is not memoized (unlike hashCode) and these allocations end up being consistently visible in our garbage sampling. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=56861670