Lines Matching refs:JITCodeEntry

122     std::atomic<const JITCodeEntry*> next_;  // Atomic to guarantee consistency after crash.
123 const JITCodeEntry* prev_ = nullptr; // For linked list deletion. Unused in readers.
133 struct JITCodeEntry : public JITCodeEntryPublic { struct
149 const JITCodeEntry* relevant_entry_ = nullptr; // The entry affected by the action.
150 std::atomic<const JITCodeEntry*> head_{nullptr}; // Head of link list of all entries.
163 const JITCodeEntry* tail_ = nullptr; // Tail of link list of all live entries.
164 const JITCodeEntry* free_entries_ = nullptr; // List of deleted entries ready for reuse.
167 const JITCodeEntry* zygote_head_entry_ = nullptr;
168 JITCodeEntry application_tail_entry_{};
249 ArrayRef<const uint8_t> GetJITCodeEntrySymFile(const JITCodeEntry* entry) { in GetJITCodeEntrySymFile()
278 static void InsertNewEntry(const JITCodeEntry* entry, const JITCodeEntry* next) { in InsertNewEntry()
281 const JITCodeEntry* prev = (next != nullptr ? next->prev_ : descriptor.tail_); in InsertNewEntry()
282 JITCodeEntry* writable = NativeInfo::Writable(entry); in InsertNewEntry()
302 static const JITCodeEntry* CreateJITCodeEntryInternal( in CreateJITCodeEntryInternal()
311 const void* memory = NativeInfo::Alloc(sizeof(JITCodeEntry)); in CreateJITCodeEntryInternal()
316 new (NativeInfo::Writable(memory)) JITCodeEntry(); in CreateJITCodeEntryInternal()
317 descriptor.free_entries_ = reinterpret_cast<const JITCodeEntry*>(memory); in CreateJITCodeEntryInternal()
334 const JITCodeEntry* next = descriptor.head_.load(kNonRacingRelaxed); // Insert at the head. in CreateJITCodeEntryInternal()
340 const JITCodeEntry* entry = descriptor.free_entries_; in CreateJITCodeEntryInternal()
344 JITCodeEntry* writable_entry = NativeInfo::Writable(entry); in CreateJITCodeEntryInternal()
366 static void DeleteJITCodeEntryInternal(const JITCodeEntry* entry) { in DeleteJITCodeEntryInternal()
372 const JITCodeEntry* next = entry->next_.load(kNonRacingRelaxed); in DeleteJITCodeEntryInternal()
373 const JITCodeEntry* prev = entry->prev_; in DeleteJITCodeEntryInternal()
392 JITCodeEntry* writable_entry = NativeInfo::Writable(entry); in DeleteJITCodeEntryInternal()
423 for (const JITCodeEntry* entry = __dex_debug_descriptor.head_; entry != nullptr; ) { in RemoveNativeDebugInfoForDex()
424 const JITCodeEntry* next = entry->next_; // Save next pointer before we free the memory. in RemoveNativeDebugInfoForDex()
464 const JITCodeEntry* zygote_head = in NativeDebugInfoPreFork()
465 reinterpret_cast<const JITCodeEntry*>(JitNativeInfo::Alloc(sizeof(JITCodeEntry))); in NativeDebugInfoPreFork()
467 new (JitNativeInfo::Writable(zygote_head)) JITCodeEntry(); // Initialize. in NativeDebugInfoPreFork()
496 std::vector<const JITCodeEntry*> entries; in RepackEntries()
498 for (const JITCodeEntry* it = descriptor.head_; it != nullptr; it = it->next_) { in RepackEntries()
509 auto cmp = [](const JITCodeEntry* l, const JITCodeEntry* r) { return l->addr_ < r->addr_; }; in RepackEntries()
521 ArrayRef<const JITCodeEntry*> elfs(&*begin, end - begin); in RepackEntries()
621 for (const JITCodeEntry* it = __jit_debug_descriptor.head_; it != nullptr;) { in RepackNativeDebugInfoForJitLocked()
622 const JITCodeEntry* next = it->next_; in RepackNativeDebugInfoForJitLocked()
641 for (const JITCodeEntry* it = __jit_debug_descriptor.head_; it != nullptr; it = it->next_) { in GetJitMiniDebugInfoMemUsage()
642 size += sizeof(JITCodeEntry) + it->symfile_size_; in GetJitMiniDebugInfoMemUsage()
654 for (const JITCodeEntry* it = __jit_debug_descriptor.head_; it != nullptr; it = it->next_) { in ForEachNativeDebugSymbol()