Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | #include "class_table.h" |
| 18 | |
| 19 | #include "mirror/class-inl.h" |
| 20 | |
| 21 | namespace art { |
| 22 | |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 23 | ClassTable::ClassTable() : lock_("Class loader classes", kClassLoaderClassesLock) { |
Mathieu Chartier | 32cc9ee | 2015-10-15 09:19:15 -0700 | [diff] [blame] | 24 | Runtime* const runtime = Runtime::Current(); |
| 25 | classes_.push_back(ClassSet(runtime->GetHashTableMinLoadFactor(), |
| 26 | runtime->GetHashTableMaxLoadFactor())); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | void ClassTable::FreezeSnapshot() { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 30 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 31 | classes_.push_back(ClassSet()); |
| 32 | } |
| 33 | |
Mathieu Chartier | 28357fa | 2016-10-18 16:27:40 -0700 | [diff] [blame] | 34 | bool ClassTable::Contains(ObjPtr<mirror::Class> klass) { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 35 | ReaderMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 36 | TableSlot slot(klass); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 37 | for (ClassSet& class_set : classes_) { |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 38 | auto it = class_set.Find(slot); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 39 | if (it != class_set.end()) { |
| 40 | return it->Read() == klass; |
| 41 | } |
| 42 | } |
| 43 | return false; |
| 44 | } |
| 45 | |
Mathieu Chartier | 28357fa | 2016-10-18 16:27:40 -0700 | [diff] [blame] | 46 | mirror::Class* ClassTable::LookupByDescriptor(ObjPtr<mirror::Class> klass) { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 47 | ReaderMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 48 | TableSlot slot(klass); |
Mathieu Chartier | fbc3108 | 2016-01-24 11:59:56 -0800 | [diff] [blame] | 49 | for (ClassSet& class_set : classes_) { |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 50 | auto it = class_set.Find(slot); |
Mathieu Chartier | fbc3108 | 2016-01-24 11:59:56 -0800 | [diff] [blame] | 51 | if (it != class_set.end()) { |
| 52 | return it->Read(); |
| 53 | } |
| 54 | } |
| 55 | return nullptr; |
| 56 | } |
| 57 | |
Pirama Arumuga Nainar | 813b9c4 | 2016-08-25 23:42:50 -0700 | [diff] [blame] | 58 | // Bug: http://b/31104323 Ignore -Wunreachable-code from the for loop below |
| 59 | #pragma clang diagnostic push |
| 60 | #pragma clang diagnostic ignored "-Wunreachable-code" |
| 61 | |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 62 | mirror::Class* ClassTable::UpdateClass(const char* descriptor, mirror::Class* klass, size_t hash) { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 63 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 64 | // Should only be updating latest table. |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 65 | DescriptorHashPair pair(descriptor, hash); |
| 66 | auto existing_it = classes_.back().FindWithHash(pair, hash); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 67 | if (kIsDebugBuild && existing_it == classes_.back().end()) { |
| 68 | for (const ClassSet& class_set : classes_) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 69 | if (class_set.FindWithHash(pair, hash) != class_set.end()) { |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 70 | LOG(FATAL) << "Updating class found in frozen table " << descriptor; |
| 71 | } |
| 72 | } |
| 73 | LOG(FATAL) << "Updating class not found " << descriptor; |
| 74 | } |
| 75 | mirror::Class* const existing = existing_it->Read(); |
| 76 | CHECK_NE(existing, klass) << descriptor; |
| 77 | CHECK(!existing->IsResolved()) << descriptor; |
| 78 | CHECK_EQ(klass->GetStatus(), mirror::Class::kStatusResolving) << descriptor; |
| 79 | CHECK(!klass->IsTemp()) << descriptor; |
| 80 | VerifyObject(klass); |
| 81 | // Update the element in the hash set with the new class. This is safe to do since the descriptor |
| 82 | // doesn't change. |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 83 | *existing_it = TableSlot(klass, hash); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 84 | return existing; |
| 85 | } |
| 86 | |
Pirama Arumuga Nainar | 813b9c4 | 2016-08-25 23:42:50 -0700 | [diff] [blame] | 87 | #pragma clang diagnostic pop // http://b/31104323 |
| 88 | |
Vladimir Marko | c5798bf | 2016-12-09 10:20:54 +0000 | [diff] [blame] | 89 | size_t ClassTable::CountDefiningLoaderClasses(ObjPtr<mirror::ClassLoader> defining_loader, |
| 90 | const ClassSet& set) const { |
| 91 | size_t count = 0; |
| 92 | for (const TableSlot& root : set) { |
| 93 | if (root.Read()->GetClassLoader() == defining_loader) { |
| 94 | ++count; |
| 95 | } |
| 96 | } |
| 97 | return count; |
| 98 | } |
| 99 | |
| 100 | size_t ClassTable::NumZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 101 | ReaderMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 102 | size_t sum = 0; |
| 103 | for (size_t i = 0; i < classes_.size() - 1; ++i) { |
Vladimir Marko | c5798bf | 2016-12-09 10:20:54 +0000 | [diff] [blame] | 104 | sum += CountDefiningLoaderClasses(defining_loader, classes_[i]); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 105 | } |
| 106 | return sum; |
| 107 | } |
| 108 | |
Vladimir Marko | c5798bf | 2016-12-09 10:20:54 +0000 | [diff] [blame] | 109 | size_t ClassTable::NumNonZygoteClasses(ObjPtr<mirror::ClassLoader> defining_loader) const { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 110 | ReaderMutexLock mu(Thread::Current(), lock_); |
Vladimir Marko | c5798bf | 2016-12-09 10:20:54 +0000 | [diff] [blame] | 111 | return CountDefiningLoaderClasses(defining_loader, classes_.back()); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 112 | } |
| 113 | |
| 114 | mirror::Class* ClassTable::Lookup(const char* descriptor, size_t hash) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 115 | DescriptorHashPair pair(descriptor, hash); |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 116 | ReaderMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 117 | for (ClassSet& class_set : classes_) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 118 | auto it = class_set.FindWithHash(pair, hash); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 119 | if (it != class_set.end()) { |
Vladimir Marko | c5798bf | 2016-12-09 10:20:54 +0000 | [diff] [blame] | 120 | return it->Read(); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 121 | } |
| 122 | } |
| 123 | return nullptr; |
| 124 | } |
| 125 | |
Mathieu Chartier | 28357fa | 2016-10-18 16:27:40 -0700 | [diff] [blame] | 126 | void ClassTable::Insert(ObjPtr<mirror::Class> klass) { |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 127 | const uint32_t hash = TableSlot::HashDescriptor(klass); |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 128 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 129 | classes_.back().InsertWithHash(TableSlot(klass, hash), hash); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 130 | } |
| 131 | |
Mathieu Chartier | 28357fa | 2016-10-18 16:27:40 -0700 | [diff] [blame] | 132 | void ClassTable::InsertWithoutLocks(ObjPtr<mirror::Class> klass) { |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 133 | const uint32_t hash = TableSlot::HashDescriptor(klass); |
| 134 | classes_.back().InsertWithHash(TableSlot(klass, hash), hash); |
Mathieu Chartier | 496577f | 2016-09-20 15:33:31 -0700 | [diff] [blame] | 135 | } |
| 136 | |
Mathieu Chartier | 28357fa | 2016-10-18 16:27:40 -0700 | [diff] [blame] | 137 | void ClassTable::InsertWithHash(ObjPtr<mirror::Class> klass, size_t hash) { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 138 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 139 | classes_.back().InsertWithHash(TableSlot(klass, hash), hash); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 140 | } |
| 141 | |
| 142 | bool ClassTable::Remove(const char* descriptor) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 143 | DescriptorHashPair pair(descriptor, ComputeModifiedUtf8Hash(descriptor)); |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 144 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 145 | for (ClassSet& class_set : classes_) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 146 | auto it = class_set.Find(pair); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 147 | if (it != class_set.end()) { |
| 148 | class_set.Erase(it); |
| 149 | return true; |
| 150 | } |
| 151 | } |
| 152 | return false; |
| 153 | } |
| 154 | |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 155 | uint32_t ClassTable::ClassDescriptorHashEquals::operator()(const TableSlot& slot) |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 156 | const { |
| 157 | std::string temp; |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 158 | return ComputeModifiedUtf8Hash(slot.Read()->GetDescriptor(&temp)); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 159 | } |
| 160 | |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 161 | bool ClassTable::ClassDescriptorHashEquals::operator()(const TableSlot& a, |
| 162 | const TableSlot& b) const { |
| 163 | if (a.Hash() != b.Hash()) { |
| 164 | std::string temp; |
| 165 | DCHECK(!a.Read()->DescriptorEquals(b.Read()->GetDescriptor(&temp))); |
| 166 | return false; |
| 167 | } |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 168 | std::string temp; |
| 169 | return a.Read()->DescriptorEquals(b.Read()->GetDescriptor(&temp)); |
| 170 | } |
| 171 | |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 172 | bool ClassTable::ClassDescriptorHashEquals::operator()(const TableSlot& a, |
| 173 | const DescriptorHashPair& b) const { |
| 174 | if (!a.MaskedHashEquals(b.second)) { |
| 175 | DCHECK(!a.Read()->DescriptorEquals(b.first)); |
| 176 | return false; |
| 177 | } |
| 178 | return a.Read()->DescriptorEquals(b.first); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 179 | } |
| 180 | |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 181 | uint32_t ClassTable::ClassDescriptorHashEquals::operator()(const DescriptorHashPair& pair) const { |
| 182 | return ComputeModifiedUtf8Hash(pair.first); |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 183 | } |
| 184 | |
Mathieu Chartier | bc5a795 | 2016-10-17 15:46:31 -0700 | [diff] [blame] | 185 | bool ClassTable::InsertStrongRoot(ObjPtr<mirror::Object> obj) { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 186 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | c9dbb1d | 2016-06-03 17:47:32 -0700 | [diff] [blame] | 187 | DCHECK(obj != nullptr); |
| 188 | for (GcRoot<mirror::Object>& root : strong_roots_) { |
| 189 | if (root.Read() == obj) { |
Mathieu Chartier | 00310e0 | 2015-10-17 12:46:42 -0700 | [diff] [blame] | 190 | return false; |
| 191 | } |
| 192 | } |
Mathieu Chartier | c9dbb1d | 2016-06-03 17:47:32 -0700 | [diff] [blame] | 193 | strong_roots_.push_back(GcRoot<mirror::Object>(obj)); |
Vladimir Marko | aad75c6 | 2016-10-03 08:46:48 +0000 | [diff] [blame] | 194 | // If `obj` is a dex cache associated with a new oat file with GC roots, add it to oat_files_. |
| 195 | if (obj->IsDexCache()) { |
Mathieu Chartier | bc5a795 | 2016-10-17 15:46:31 -0700 | [diff] [blame] | 196 | const DexFile* dex_file = ObjPtr<mirror::DexCache>::DownCast(obj)->GetDexFile(); |
Vladimir Marko | aad75c6 | 2016-10-03 08:46:48 +0000 | [diff] [blame] | 197 | if (dex_file != nullptr && dex_file->GetOatDexFile() != nullptr) { |
| 198 | const OatFile* oat_file = dex_file->GetOatDexFile()->GetOatFile(); |
Mathieu Chartier | 1b86849 | 2016-11-16 16:22:37 -0800 | [diff] [blame] | 199 | if (oat_file != nullptr && !oat_file->GetBssGcRoots().empty()) { |
Vladimir Marko | 1bc4b17 | 2016-10-24 16:53:39 +0000 | [diff] [blame] | 200 | InsertOatFileLocked(oat_file); // Ignore return value. |
Vladimir Marko | aad75c6 | 2016-10-03 08:46:48 +0000 | [diff] [blame] | 201 | } |
| 202 | } |
| 203 | } |
Mathieu Chartier | 00310e0 | 2015-10-17 12:46:42 -0700 | [diff] [blame] | 204 | return true; |
| 205 | } |
| 206 | |
Vladimir Marko | 1bc4b17 | 2016-10-24 16:53:39 +0000 | [diff] [blame] | 207 | bool ClassTable::InsertOatFile(const OatFile* oat_file) { |
| 208 | WriterMutexLock mu(Thread::Current(), lock_); |
| 209 | return InsertOatFileLocked(oat_file); |
| 210 | } |
| 211 | |
| 212 | bool ClassTable::InsertOatFileLocked(const OatFile* oat_file) { |
| 213 | if (ContainsElement(oat_files_, oat_file)) { |
| 214 | return false; |
| 215 | } |
| 216 | oat_files_.push_back(oat_file); |
| 217 | return true; |
| 218 | } |
| 219 | |
Mathieu Chartier | 208a5cb | 2015-12-02 15:44:07 -0800 | [diff] [blame] | 220 | size_t ClassTable::WriteToMemory(uint8_t* ptr) const { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 221 | ReaderMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | 41dc8ce | 2015-12-04 15:07:48 -0800 | [diff] [blame] | 222 | ClassSet combined; |
| 223 | // Combine all the class sets in case there are multiple, also adjusts load factor back to |
| 224 | // default in case classes were pruned. |
| 225 | for (const ClassSet& class_set : classes_) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 226 | for (const TableSlot& root : class_set) { |
Mathieu Chartier | 41dc8ce | 2015-12-04 15:07:48 -0800 | [diff] [blame] | 227 | combined.Insert(root); |
Mathieu Chartier | 208a5cb | 2015-12-02 15:44:07 -0800 | [diff] [blame] | 228 | } |
| 229 | } |
Mathieu Chartier | 41dc8ce | 2015-12-04 15:07:48 -0800 | [diff] [blame] | 230 | const size_t ret = combined.WriteToMemory(ptr); |
| 231 | // Sanity check. |
| 232 | if (kIsDebugBuild && ptr != nullptr) { |
| 233 | size_t read_count; |
| 234 | ClassSet class_set(ptr, /*make copy*/false, &read_count); |
| 235 | class_set.Verify(); |
| 236 | } |
Mathieu Chartier | 208a5cb | 2015-12-02 15:44:07 -0800 | [diff] [blame] | 237 | return ret; |
| 238 | } |
| 239 | |
| 240 | size_t ClassTable::ReadFromMemory(uint8_t* ptr) { |
| 241 | size_t read_count = 0; |
Mathieu Chartier | 88027bd | 2016-03-02 16:08:31 -0800 | [diff] [blame] | 242 | AddClassSet(ClassSet(ptr, /*make copy*/false, &read_count)); |
Mathieu Chartier | 208a5cb | 2015-12-02 15:44:07 -0800 | [diff] [blame] | 243 | return read_count; |
| 244 | } |
| 245 | |
Mathieu Chartier | 88027bd | 2016-03-02 16:08:31 -0800 | [diff] [blame] | 246 | void ClassTable::AddClassSet(ClassSet&& set) { |
Mathieu Chartier | 1609e3a | 2016-04-05 14:36:57 -0700 | [diff] [blame] | 247 | WriterMutexLock mu(Thread::Current(), lock_); |
Mathieu Chartier | 88027bd | 2016-03-02 16:08:31 -0800 | [diff] [blame] | 248 | classes_.insert(classes_.begin(), std::move(set)); |
| 249 | } |
| 250 | |
Mathieu Chartier | c9dbb1d | 2016-06-03 17:47:32 -0700 | [diff] [blame] | 251 | void ClassTable::ClearStrongRoots() { |
| 252 | WriterMutexLock mu(Thread::Current(), lock_); |
Vladimir Marko | aad75c6 | 2016-10-03 08:46:48 +0000 | [diff] [blame] | 253 | oat_files_.clear(); |
Mathieu Chartier | c9dbb1d | 2016-06-03 17:47:32 -0700 | [diff] [blame] | 254 | strong_roots_.clear(); |
| 255 | } |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 256 | |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 257 | ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass) |
| 258 | : TableSlot(klass, HashDescriptor(klass)) {} |
| 259 | |
| 260 | uint32_t ClassTable::TableSlot::HashDescriptor(ObjPtr<mirror::Class> klass) { |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 261 | std::string temp; |
Mathieu Chartier | db70ce5 | 2016-12-12 11:06:59 -0800 | [diff] [blame] | 262 | return ComputeModifiedUtf8Hash(klass->GetDescriptor(&temp)); |
Mathieu Chartier | 58c3f6a | 2016-12-01 14:21:11 -0800 | [diff] [blame] | 263 | } |
| 264 | |
Mathieu Chartier | cc5ebdf | 2015-07-27 11:19:43 -0700 | [diff] [blame] | 265 | } // namespace art |