commit | f0a37663309e468f11858bffa3221e7223cf577d | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Tue Aug 12 11:48:34 2014 -0700 |
committer | Ian Rogers <irogers@google.com> | Wed Aug 13 18:58:55 2014 -0700 |
tree | 8083aafd260f418b5558621c26eabfcf056e6a45 | |
parent | 63c051a540e6dfc806f656b88ac3a63e99395429 [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 (cherry picked from commit 6a3f8d93ddf09b5f6667820089e488958cba8361) Change-Id: Iab69bccac9f904111a72eff8162c7f0ca979a08a