commit | 6c08a453c7fac58388bcf4cd521b4075ef5840d9 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Jan 23 19:51:15 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Fri Jan 23 19:51:15 2015 -0800 |
tree | ceb3e1c66671bf84082eba8176319f811d17f608 | |
parent | d7fa69ca6527abce692da848eb49f6262213c14d [diff] |
ART: Fix new[] / delete mismatch The type of the unique_ptr in MarkQueue should be an array type, as it is holding an array, actually. Change-Id: If1d05a1d52cd58a373f240f7156fc69b70324298
diff --git a/runtime/gc/collector/concurrent_copying.h b/runtime/gc/collector/concurrent_copying.h index d740bf2..43f520a 100644 --- a/runtime/gc/collector/concurrent_copying.h +++ b/runtime/gc/collector/concurrent_copying.h
@@ -129,7 +129,7 @@ Atomic<size_t> tail_; size_t size_; - std::unique_ptr<Atomic<mirror::Object*>> buf_; + std::unique_ptr<Atomic<mirror::Object*>[]> buf_; }; class ConcurrentCopying : public GarbageCollector {