commit | 51b839544b7bc8f7285baa3b405ab7b28172b470 | [log] [tgz] |
---|---|---|
author | Svet Ganov <svetoslavganov@google.com> | Wed Jul 06 12:16:53 2016 -0700 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Wed Jul 06 19:52:36 2016 +0000 |
tree | 011b471db0adea0a704fe1057a7e6d1ec2eee749 | |
parent | 4c78b8e5444def1f581e98f4d338a9bd86d59359 [diff] |
Use proper lock when accessing the generation registry We use 'this' for synchronization in NameValueCache but some code that accesses the generation registry uses 'this' in a different context ending up syncing on the wrong instance. This is why sync on this is just a bad idea. bug:29956424 Change-Id: Ide2d4f07a5f40cb3f0e8f50e4c8de216d15a31ee