commit | 7380c3175b443cdc6f12a2a3a91df188eaaa5a61 | [log] [tgz] |
---|---|---|
author | tony.ys_liu <tony.ys_liu@htc.com> | Fri Jan 16 19:16:45 2015 +0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jan 16 13:36:22 2015 -0800 |
tree | b79b791111f7cafc1e2d2c481a9fdc142961e98e | |
parent | fa04842818fe2d0086872dea311db14a732d52f0 [diff] |
Fix infinite loop in GenerateIdentityHashCode Root Cause: If no one changes the seed, it will become infinite loop due to below condition (expected_value & LockWord::kHashMask) == 0 Solution: Changes the seed before entering the next loop Added test. Bug: 19046417 Change-Id: I7d1c377dd1bda780681514b24d61ebc776bc80ab