commit | 6a3f8d93ddf09b5f6667820089e488958cba8361 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Tue Aug 12 11:48:34 2014 -0700 |
committer | Dan Albert <danalbert@google.com> | Tue Aug 12 13:37:26 2014 -0700 |
tree | 0c20bb42a62b74e2bb647bf9a873be4b1fe81254 | |
parent | 6814d7b68ee13ec1a13ace669b025aa080d8b53e [diff] |
Initialize art::Atomic's value to 0. art::Mutex and art::ConditionVariable were DCHECKing that the value was zero on entering the constructor without ever initializing the value. Since 0 is a sensible default, make it the default for art::Atomic rather than initializing for each use. Bug: 16301104 Change-Id: I9c98b82c80670b7a6c53d46a08236bbed6a64f8f