Ian Rogers | 39ebcb8 | 2013-05-30 16:57:23 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 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 | |
Brian Carlstrom | fc0e321 | 2013-07-17 14:40:12 -0700 | [diff] [blame] | 17 | #ifndef ART_RUNTIME_MIRROR_DEX_CACHE_INL_H_ |
| 18 | #define ART_RUNTIME_MIRROR_DEX_CACHE_INL_H_ |
Ian Rogers | 39ebcb8 | 2013-05-30 16:57:23 -0700 | [diff] [blame] | 19 | |
| 20 | #include "dex_cache.h" |
| 21 | |
Mathieu Chartier | c785344 | 2015-03-27 14:35:38 -0700 | [diff] [blame] | 22 | #include "art_field-inl.h" |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 23 | #include "art_method-inl.h" |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 24 | #include "base/casts.h" |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 25 | #include "base/enums.h" |
Andreas Gampe | aa910d5 | 2014-07-30 18:59:05 -0700 | [diff] [blame] | 26 | #include "base/logging.h" |
Narayan Kamath | d08e39b | 2016-10-19 14:16:35 +0100 | [diff] [blame^] | 27 | #include "gc_root.h" |
Andreas Gampe | aa910d5 | 2014-07-30 18:59:05 -0700 | [diff] [blame] | 28 | #include "mirror/class.h" |
Narayan Kamath | 25352fc | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 29 | #include "mirror/method_type.h" |
Mathieu Chartier | bc56fc3 | 2014-06-03 15:37:03 -0700 | [diff] [blame] | 30 | #include "runtime.h" |
Mathieu Chartier | 31e8822 | 2016-10-14 18:43:19 -0700 | [diff] [blame] | 31 | #include "obj_ptr.h" |
Mathieu Chartier | bc56fc3 | 2014-06-03 15:37:03 -0700 | [diff] [blame] | 32 | |
Christina Wadsworth | bf44e0e | 2016-08-18 10:37:42 -0700 | [diff] [blame] | 33 | #include <atomic> |
| 34 | |
Ian Rogers | 39ebcb8 | 2013-05-30 16:57:23 -0700 | [diff] [blame] | 35 | namespace art { |
| 36 | namespace mirror { |
| 37 | |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 38 | inline uint32_t DexCache::ClassSize(PointerSize pointer_size) { |
Vladimir Marko | c136312 | 2015-04-09 14:13:13 +0100 | [diff] [blame] | 39 | uint32_t vtable_entries = Object::kVTableLength + 5; |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 40 | return Class::ComputeClassSize(true, vtable_entries, 0, 0, 0, 0, 0, pointer_size); |
Ian Rogers | 39ebcb8 | 2013-05-30 16:57:23 -0700 | [diff] [blame] | 41 | } |
| 42 | |
Christina Wadsworth | bf44e0e | 2016-08-18 10:37:42 -0700 | [diff] [blame] | 43 | inline mirror::String* DexCache::GetResolvedString(uint32_t string_idx) { |
| 44 | DCHECK_LT(string_idx, GetDexFile()->NumStringIds()); |
Narayan Kamath | c38a6f8 | 2016-09-29 17:07:20 +0100 | [diff] [blame] | 45 | return StringDexCachePair::Lookup(GetStrings(), string_idx, NumStrings()).Read(); |
Andreas Gampe | aa910d5 | 2014-07-30 18:59:05 -0700 | [diff] [blame] | 46 | } |
| 47 | |
Mathieu Chartier | bc5a795 | 2016-10-17 15:46:31 -0700 | [diff] [blame] | 48 | inline void DexCache::SetResolvedString(uint32_t string_idx, ObjPtr<mirror::String> resolved) { |
| 49 | StringDexCachePair::Assign(GetStrings(), string_idx, resolved.Ptr(), NumStrings()); |
Mathieu Chartier | bb816d6 | 2016-09-07 10:17:46 -0700 | [diff] [blame] | 50 | Runtime* const runtime = Runtime::Current(); |
| 51 | if (UNLIKELY(runtime->IsActiveTransaction())) { |
| 52 | DCHECK(runtime->IsAotCompiler()); |
| 53 | runtime->RecordResolveString(this, string_idx); |
| 54 | } |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 55 | // TODO: Fine-grained marking, so that we don't need to go through all arrays in full. |
Mathieu Chartier | bb816d6 | 2016-09-07 10:17:46 -0700 | [diff] [blame] | 56 | runtime->GetHeap()->WriteBarrierEveryFieldOf(this); |
| 57 | } |
| 58 | |
| 59 | inline void DexCache::ClearString(uint32_t string_idx) { |
| 60 | const uint32_t slot_idx = string_idx % NumStrings(); |
| 61 | DCHECK(Runtime::Current()->IsAotCompiler()); |
| 62 | StringDexCacheType* slot = &GetStrings()[slot_idx]; |
| 63 | // This is racy but should only be called from the transactional interpreter. |
Narayan Kamath | c38a6f8 | 2016-09-29 17:07:20 +0100 | [diff] [blame] | 64 | if (slot->load(std::memory_order_relaxed).index == string_idx) { |
Mathieu Chartier | bb816d6 | 2016-09-07 10:17:46 -0700 | [diff] [blame] | 65 | StringDexCachePair cleared( |
| 66 | nullptr, |
Narayan Kamath | c38a6f8 | 2016-09-29 17:07:20 +0100 | [diff] [blame] | 67 | StringDexCachePair::InvalidIndexForSlot(slot_idx)); |
Mathieu Chartier | bb816d6 | 2016-09-07 10:17:46 -0700 | [diff] [blame] | 68 | slot->store(cleared, std::memory_order_relaxed); |
| 69 | } |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 70 | } |
| 71 | |
| 72 | inline Class* DexCache::GetResolvedType(uint32_t type_idx) { |
| 73 | DCHECK_LT(type_idx, NumResolvedTypes()); |
| 74 | return GetResolvedTypes()[type_idx].Read(); |
| 75 | } |
| 76 | |
Mathieu Chartier | 31e8822 | 2016-10-14 18:43:19 -0700 | [diff] [blame] | 77 | inline void DexCache::SetResolvedType(uint32_t type_idx, ObjPtr<Class> resolved) { |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 78 | DCHECK_LT(type_idx, NumResolvedTypes()); // NOTE: Unchecked, i.e. not throwing AIOOB. |
| 79 | // TODO default transaction support. |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 80 | GetResolvedTypes()[type_idx] = GcRoot<Class>(resolved); |
| 81 | // TODO: Fine-grained marking, so that we don't need to go through all arrays in full. |
| 82 | Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); |
| 83 | } |
| 84 | |
Narayan Kamath | 25352fc | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 85 | inline MethodType* DexCache::GetResolvedMethodType(uint32_t proto_idx) { |
| 86 | DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); |
| 87 | DCHECK_LT(proto_idx, GetDexFile()->NumProtoIds()); |
| 88 | return MethodTypeDexCachePair::Lookup( |
| 89 | GetResolvedMethodTypes(), proto_idx, NumResolvedMethodTypes()).Read(); |
| 90 | } |
| 91 | |
| 92 | inline void DexCache::SetResolvedMethodType(uint32_t proto_idx, MethodType* resolved) { |
| 93 | DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); |
Narayan Kamath | 42b3dd0 | 2016-10-03 11:33:01 +0100 | [diff] [blame] | 94 | DCHECK_LT(proto_idx, GetDexFile()->NumProtoIds()); |
Narayan Kamath | 25352fc | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 95 | |
Narayan Kamath | 23136d1 | 2016-09-30 16:29:19 +0100 | [diff] [blame] | 96 | MethodTypeDexCachePair::Assign(GetResolvedMethodTypes(), proto_idx, resolved, |
| 97 | NumResolvedMethodTypes()); |
Narayan Kamath | 25352fc | 2016-08-03 12:46:58 +0100 | [diff] [blame] | 98 | // TODO: Fine-grained marking, so that we don't need to go through all arrays in full. |
| 99 | Runtime::Current()->GetHeap()->WriteBarrierEveryFieldOf(this); |
| 100 | } |
| 101 | |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 102 | inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) { |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 103 | DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 104 | DCHECK_LT(field_idx, NumResolvedFields()); // NOTE: Unchecked, i.e. not throwing AIOOB. |
| 105 | ArtField* field = GetElementPtrSize(GetResolvedFields(), field_idx, ptr_size); |
Mathieu Chartier | c785344 | 2015-03-27 14:35:38 -0700 | [diff] [blame] | 106 | if (field == nullptr || field->GetDeclaringClass()->IsErroneous()) { |
| 107 | return nullptr; |
| 108 | } |
| 109 | return field; |
| 110 | } |
| 111 | |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 112 | inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) { |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 113 | DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 114 | DCHECK_LT(field_idx, NumResolvedFields()); // NOTE: Unchecked, i.e. not throwing AIOOB. |
| 115 | SetElementPtrSize(GetResolvedFields(), field_idx, field, ptr_size); |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 116 | } |
| 117 | |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 118 | inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx, PointerSize ptr_size) { |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 119 | DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 120 | DCHECK_LT(method_idx, NumResolvedMethods()); // NOTE: Unchecked, i.e. not throwing AIOOB. |
| 121 | ArtMethod* method = GetElementPtrSize<ArtMethod*>(GetResolvedMethods(), method_idx, ptr_size); |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 122 | // Hide resolution trampoline methods from the caller |
| 123 | if (method != nullptr && method->IsRuntimeMethod()) { |
| 124 | DCHECK_EQ(method, Runtime::Current()->GetResolutionMethod()); |
| 125 | return nullptr; |
Mathieu Chartier | c785344 | 2015-03-27 14:35:38 -0700 | [diff] [blame] | 126 | } |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 127 | return method; |
| 128 | } |
| 129 | |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 130 | inline void DexCache::SetResolvedMethod(uint32_t method_idx, |
| 131 | ArtMethod* method, |
| 132 | PointerSize ptr_size) { |
Mathieu Chartier | e401d14 | 2015-04-22 13:56:20 -0700 | [diff] [blame] | 133 | DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 134 | DCHECK_LT(method_idx, NumResolvedMethods()); // NOTE: Unchecked, i.e. not throwing AIOOB. |
| 135 | SetElementPtrSize(GetResolvedMethods(), method_idx, method, ptr_size); |
| 136 | } |
| 137 | |
| 138 | template <typename PtrType> |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 139 | inline PtrType DexCache::GetElementPtrSize(PtrType* ptr_array, size_t idx, PointerSize ptr_size) { |
| 140 | if (ptr_size == PointerSize::k64) { |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 141 | uint64_t element = reinterpret_cast<const uint64_t*>(ptr_array)[idx]; |
| 142 | return reinterpret_cast<PtrType>(dchecked_integral_cast<uintptr_t>(element)); |
| 143 | } else { |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 144 | uint32_t element = reinterpret_cast<const uint32_t*>(ptr_array)[idx]; |
| 145 | return reinterpret_cast<PtrType>(dchecked_integral_cast<uintptr_t>(element)); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | template <typename PtrType> |
| 150 | inline void DexCache::SetElementPtrSize(PtrType* ptr_array, |
| 151 | size_t idx, |
| 152 | PtrType ptr, |
Andreas Gampe | 542451c | 2016-07-26 09:02:02 -0700 | [diff] [blame] | 153 | PointerSize ptr_size) { |
| 154 | if (ptr_size == PointerSize::k64) { |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 155 | reinterpret_cast<uint64_t*>(ptr_array)[idx] = |
| 156 | dchecked_integral_cast<uint64_t>(reinterpret_cast<uintptr_t>(ptr)); |
| 157 | } else { |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 158 | reinterpret_cast<uint32_t*>(ptr_array)[idx] = |
| 159 | dchecked_integral_cast<uint32_t>(reinterpret_cast<uintptr_t>(ptr)); |
| 160 | } |
| 161 | } |
| 162 | |
Narayan Kamath | d08e39b | 2016-10-19 14:16:35 +0100 | [diff] [blame^] | 163 | template <typename T, |
| 164 | ReadBarrierOption kReadBarrierOption, |
| 165 | typename Visitor> |
| 166 | inline void VisitDexCachePairs(std::atomic<DexCachePair<T>>* pairs, |
| 167 | size_t num_pairs, |
| 168 | const Visitor& visitor) |
| 169 | REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(Locks::heap_bitmap_lock_) { |
| 170 | for (size_t i = 0; i < num_pairs; ++i) { |
| 171 | DexCachePair<T> source = pairs[i].load(std::memory_order_relaxed); |
| 172 | // NOTE: We need the "template" keyword here to avoid a compilation |
| 173 | // failure. GcRoot<T> is a template argument-dependent type and we need to |
| 174 | // tell the compiler to treat "Read" as a template rather than a field or |
| 175 | // function. Otherwise, on encountering the "<" token, the compiler would |
| 176 | // treat "Read" as a field. |
| 177 | T* before = source.object.template Read<kReadBarrierOption>(); |
| 178 | // TODO(narayan): This additional GC root construction and assignment |
| 179 | // is unnecessary. We're already operating on a copy of the DexCachePair |
| 180 | // that's in the cache. |
| 181 | GcRoot<T> root(before); |
| 182 | visitor.VisitRootIfNonNull(root.AddressWithoutBarrier()); |
| 183 | if (root.Read() != before) { |
| 184 | source.object = GcRoot<T>(root.Read()); |
| 185 | pairs[i].store(source, std::memory_order_relaxed); |
| 186 | } |
| 187 | } |
| 188 | } |
| 189 | |
Mathieu Chartier | fbc3108 | 2016-01-24 11:59:56 -0800 | [diff] [blame] | 190 | template <bool kVisitNativeRoots, |
| 191 | VerifyObjectFlags kVerifyFlags, |
| 192 | ReadBarrierOption kReadBarrierOption, |
| 193 | typename Visitor> |
Mathieu Chartier | 31e8822 | 2016-10-14 18:43:19 -0700 | [diff] [blame] | 194 | inline void DexCache::VisitReferences(ObjPtr<Class> klass, const Visitor& visitor) { |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 195 | // Visit instance fields first. |
Mathieu Chartier | fbc3108 | 2016-01-24 11:59:56 -0800 | [diff] [blame] | 196 | VisitInstanceFieldsReferences<kVerifyFlags, kReadBarrierOption>(klass, visitor); |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 197 | // Visit arrays after. |
Mathieu Chartier | fbc3108 | 2016-01-24 11:59:56 -0800 | [diff] [blame] | 198 | if (kVisitNativeRoots) { |
Narayan Kamath | d08e39b | 2016-10-19 14:16:35 +0100 | [diff] [blame^] | 199 | VisitDexCachePairs<mirror::String, kReadBarrierOption, Visitor>( |
| 200 | GetStrings(), NumStrings(), visitor); |
| 201 | |
Mathieu Chartier | fbc3108 | 2016-01-24 11:59:56 -0800 | [diff] [blame] | 202 | GcRoot<mirror::Class>* resolved_types = GetResolvedTypes(); |
| 203 | for (size_t i = 0, num_types = NumResolvedTypes(); i != num_types; ++i) { |
| 204 | visitor.VisitRootIfNonNull(resolved_types[i].AddressWithoutBarrier()); |
| 205 | } |
Narayan Kamath | d08e39b | 2016-10-19 14:16:35 +0100 | [diff] [blame^] | 206 | |
| 207 | VisitDexCachePairs<mirror::MethodType, kReadBarrierOption, Visitor>( |
| 208 | GetResolvedMethodTypes(), NumResolvedMethodTypes(), visitor); |
Vladimir Marko | 05792b9 | 2015-08-03 11:56:49 +0100 | [diff] [blame] | 209 | } |
Mathieu Chartier | c785344 | 2015-03-27 14:35:38 -0700 | [diff] [blame] | 210 | } |
| 211 | |
Mathieu Chartier | 60bc39c | 2016-01-27 18:37:48 -0800 | [diff] [blame] | 212 | template <ReadBarrierOption kReadBarrierOption, typename Visitor> |
Christina Wadsworth | bf44e0e | 2016-08-18 10:37:42 -0700 | [diff] [blame] | 213 | inline void DexCache::FixupStrings(mirror::StringDexCacheType* dest, const Visitor& visitor) { |
| 214 | mirror::StringDexCacheType* src = GetStrings(); |
Mathieu Chartier | 4b00d34 | 2015-11-13 10:42:08 -0800 | [diff] [blame] | 215 | for (size_t i = 0, count = NumStrings(); i < count; ++i) { |
Christina Wadsworth | bf44e0e | 2016-08-18 10:37:42 -0700 | [diff] [blame] | 216 | StringDexCachePair source = src[i].load(std::memory_order_relaxed); |
Narayan Kamath | c38a6f8 | 2016-09-29 17:07:20 +0100 | [diff] [blame] | 217 | mirror::String* ptr = source.object.Read<kReadBarrierOption>(); |
Christina Wadsworth | bf44e0e | 2016-08-18 10:37:42 -0700 | [diff] [blame] | 218 | mirror::String* new_source = visitor(ptr); |
Narayan Kamath | c38a6f8 | 2016-09-29 17:07:20 +0100 | [diff] [blame] | 219 | source.object = GcRoot<String>(new_source); |
Christina Wadsworth | bf44e0e | 2016-08-18 10:37:42 -0700 | [diff] [blame] | 220 | dest[i].store(source, std::memory_order_relaxed); |
Mathieu Chartier | 4b00d34 | 2015-11-13 10:42:08 -0800 | [diff] [blame] | 221 | } |
| 222 | } |
| 223 | |
Mathieu Chartier | 60bc39c | 2016-01-27 18:37:48 -0800 | [diff] [blame] | 224 | template <ReadBarrierOption kReadBarrierOption, typename Visitor> |
Mathieu Chartier | 4b00d34 | 2015-11-13 10:42:08 -0800 | [diff] [blame] | 225 | inline void DexCache::FixupResolvedTypes(GcRoot<mirror::Class>* dest, const Visitor& visitor) { |
| 226 | GcRoot<mirror::Class>* src = GetResolvedTypes(); |
| 227 | for (size_t i = 0, count = NumResolvedTypes(); i < count; ++i) { |
Mathieu Chartier | 60bc39c | 2016-01-27 18:37:48 -0800 | [diff] [blame] | 228 | mirror::Class* source = src[i].Read<kReadBarrierOption>(); |
Mathieu Chartier | 4b00d34 | 2015-11-13 10:42:08 -0800 | [diff] [blame] | 229 | mirror::Class* new_source = visitor(source); |
Nicolas Geoffray | d0668f2 | 2016-04-26 18:30:31 +0100 | [diff] [blame] | 230 | dest[i] = GcRoot<mirror::Class>(new_source); |
Mathieu Chartier | 4b00d34 | 2015-11-13 10:42:08 -0800 | [diff] [blame] | 231 | } |
| 232 | } |
| 233 | |
Narayan Kamath | 7fe5658 | 2016-10-14 18:49:12 +0100 | [diff] [blame] | 234 | template <ReadBarrierOption kReadBarrierOption, typename Visitor> |
| 235 | inline void DexCache::FixupResolvedMethodTypes(mirror::MethodTypeDexCacheType* dest, |
| 236 | const Visitor& visitor) { |
| 237 | mirror::MethodTypeDexCacheType* src = GetResolvedMethodTypes(); |
| 238 | for (size_t i = 0, count = NumResolvedMethodTypes(); i < count; ++i) { |
| 239 | MethodTypeDexCachePair source = src[i].load(std::memory_order_relaxed); |
| 240 | mirror::MethodType* ptr = source.object.Read<kReadBarrierOption>(); |
| 241 | mirror::MethodType* new_source = visitor(ptr); |
| 242 | source.object = GcRoot<MethodType>(new_source); |
| 243 | dest[i].store(source, std::memory_order_relaxed); |
| 244 | } |
| 245 | } |
| 246 | |
Ian Rogers | 39ebcb8 | 2013-05-30 16:57:23 -0700 | [diff] [blame] | 247 | } // namespace mirror |
| 248 | } // namespace art |
| 249 | |
Brian Carlstrom | fc0e321 | 2013-07-17 14:40:12 -0700 | [diff] [blame] | 250 | #endif // ART_RUNTIME_MIRROR_DEX_CACHE_INL_H_ |