Searched refs:NativeDexCachePair (Results 1 – 4 of 4) sorted by relevance
92 template <typename T> struct PACKED(2 * __SIZEOF_POINTER__) NativeDexCachePair { struct97 NativeDexCachePair(T* object, uint32_t index) in NativeDexCachePair() argument100 NativeDexCachePair() : object(nullptr), index(0u) { } in NativeDexCachePair() argument101 NativeDexCachePair(const NativeDexCachePair<T>&) = default;102 NativeDexCachePair& operator=(const NativeDexCachePair<T>&) = default; argument104 static void Initialize(std::atomic<NativeDexCachePair<T>>* dex_cache);131 NativeDexCachePair<T> pair(value, index); in Set() argument135 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 …]
66 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()
108 inline void NativeDexCachePair<T>::Initialize(std::atomic<NativeDexCachePair<T>>* dex_cache) { in Initialize()109 NativeDexCachePair<T> first_elem; in Initialize()
89 mirror::NativeDexCachePair<ArtMethod> pair(method, index); in Java_Main_restoreResolvedMethods()