commit | ff754d19946de43bfd2fc04adcd430459cac1f16 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Feb 24 15:01:41 2017 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Fri Feb 24 15:18:57 2017 +0000 |
tree | d16b694f243e3e1dfb631594181c0ae6db48d592 | |
parent | 438709f4f2454854f09a3b5c058834bbf772aaa8 [diff] |
Fix initialization of OptimizingCompilerStats. This is a follow-up to https://android-review.googlesource.com/343265 where we replaced Atomic<> with std::atomic<> because Atomic<> was hiding std::atomic<>::operator=(). However, while the default constructor of Atomic<> initializes the value, the default constructor of std::atomic<> does not. Test: m valgrind-test-art-host Bug: 34053922 Change-Id: Iff2b38a7b28ee2d114991b60e3c40a33425bfc48