Home
last modified time | relevance | path

Searched refs:NativeDexCachePair (Results 1 – 4 of 4) sorted by relevance

/art/runtime/mirror/
Ddex_cache.h92 template <typename T> struct PACKED(2 * __SIZEOF_POINTER__) NativeDexCachePair { struct
97 NativeDexCachePair(T* object, uint32_t index) in NativeDexCachePair() argument
100 NativeDexCachePair() : object(nullptr), index(0u) { } in NativeDexCachePair() argument
101 NativeDexCachePair(const NativeDexCachePair<T>&) = default;
102 NativeDexCachePair& operator=(const NativeDexCachePair<T>&) = default; argument
104 static void Initialize(std::atomic<NativeDexCachePair<T>>* dex_cache);
131 NativeDexCachePair<T> pair(value, index); in Set() argument
135 NativeDexCachePair<T> GetNativePair(uint32_t index) REQUIRES_SHARED(Locks::mutator_lock_) { in GetNativePair()
139 void SetNativePair(uint32_t index, NativeDexCachePair<T> value) { in SetNativePair()
144 NativeDexCachePair<T> GetNativePair(std::atomic<NativeDexCachePair<T>>* pair_array, size_t idx) { in GetNativePair()
[all …]
Ddex_cache.cc66 if (pair.index == NativeDexCachePair<ArtField>::InvalidIndexForSlot(i)) { in VisitReflectiveTargets()
73 pair = NativeDexCachePair<ArtField>( in VisitReflectiveTargets()
74 nullptr, NativeDexCachePair<ArtField>::InvalidIndexForSlot(i)); in VisitReflectiveTargets()
88 if (pair.index == NativeDexCachePair<ArtMethod>::InvalidIndexForSlot(i)) { in VisitReflectiveTargets()
95 pair = NativeDexCachePair<ArtMethod>( in VisitReflectiveTargets()
96 nullptr, NativeDexCachePair<ArtMethod>::InvalidIndexForSlot(i)); in VisitReflectiveTargets()
Ddex_cache-inl.h108 inline void NativeDexCachePair<T>::Initialize(std::atomic<NativeDexCachePair<T>>* dex_cache) { in Initialize()
109 NativeDexCachePair<T> first_elem; in Initialize()
/art/test/497-inlining-and-class-loader/
Dclear_dex_cache.cc89 mirror::NativeDexCachePair<ArtMethod> pair(method, index); in Java_Main_restoreResolvedMethods()