Lines Matching refs:code_ptr

327     const void* code_ptr = nullptr;  in GetSavedEntryPointOfPreCompiledMethod()  local
329 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
334 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
337 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
338 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
391 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
392 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
447 void JitCodeCache::FreeCodeAndData(const void* code_ptr) { in FreeCodeAndData() argument
448 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
452 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
454 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->IsOptimized()) { in FreeCodeAndData()
455 data = GetRootTable(code_ptr); in FreeCodeAndData()
667 const uint8_t* code_ptr = region->CommitCode( in Commit() local
669 if (code_ptr == nullptr) { in Commit()
672 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in Commit()
695 AddNativeDebugInfoForJit(code_ptr, debug_info, /*allow_packing=*/ !is_full_debug_info); in Commit()
736 data->SetCode(code_ptr); in Commit()
740 zygote_map_.Put(code_ptr, method); in Commit()
742 method_code_map_.Put(code_ptr, method); in Commit()
745 osr_code_map_.Put(method, code_ptr); in Commit()
754 saved_compiled_methods_map_.Put(method, code_ptr); in Commit()
764 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in Commit()
1212 const void* code_ptr = it->first; in RemoveUnmarkedCode() local
1213 uintptr_t allocation = FromCodeToAllocation(code_ptr); in RemoveUnmarkedCode()
1214 if (IsInZygoteExecSpace(code_ptr) || GetLiveBitmap()->Test(allocation)) { in RemoveUnmarkedCode()
1217 OatQuickMethodHeader* header = OatQuickMethodHeader::FromCodePointer(code_ptr); in RemoveUnmarkedCode()
1317 const void* code_ptr = data.GetCode(); in DoCollection() local
1318 if (IsInZygoteExecSpace(code_ptr)) { in DoCollection()
1321 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in DoCollection()
1324 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in DoCollection()
1331 const void* code_ptr = it.first; in DoCollection() local
1332 if (IsInZygoteExecSpace(code_ptr)) { in DoCollection()
1335 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in DoCollection()
1337 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in DoCollection()
1382 const void* code_ptr = it->second.GetCode(); in LookupMethodHeader() local
1383 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1389 const void* code_ptr = zygote_map_.GetCodeFor(method, pc); in LookupMethodHeader() local
1390 if (code_ptr != nullptr) { in LookupMethodHeader()
1391 return OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1397 const void* code_ptr = it->first; in LookupMethodHeader() local
1398 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->Contains(pc)) { in LookupMethodHeader()
1399 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1857 if (it.code_ptr != nullptr && it.method != nullptr) { in VisitAllMethods()
1858 cb(it.code_ptr, it.method); in VisitAllMethods()
1891 const void* code_ptr = entry.code_ptr; in GetCodeFor() local
1892 if (code_ptr != nullptr) { in GetCodeFor()
1893 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetCodeFor()
1895 return code_ptr; in GetCodeFor()
1916 if (entry.code_ptr == nullptr) { in GetCodeFor()
1921 if (pc != 0 && !OatQuickMethodHeader::FromCodePointer(entry.code_ptr)->Contains(pc)) { in GetCodeFor()
1924 return entry.code_ptr; in GetCodeFor()