Lines Matching refs:code_ptr

353     const void* code_ptr = nullptr;  in GetSavedEntryPointOfPreCompiledMethod()  local
355 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
360 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
363 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
364 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
417 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
418 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
472 void JitCodeCache::FreeCodeAndData(const void* code_ptr) { in FreeCodeAndData() argument
473 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
477 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
479 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->IsOptimized()) { in FreeCodeAndData()
480 data = GetRootTable(code_ptr); in FreeCodeAndData()
686 const uint8_t* code_ptr = region->CommitCode( in Commit() local
688 if (code_ptr == nullptr) { in Commit()
691 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in Commit()
714 AddNativeDebugInfoForJit(code_ptr, debug_info, /*allow_packing=*/ !is_full_debug_info); in Commit()
755 data->SetCode(code_ptr); in Commit()
759 zygote_map_.Put(code_ptr, method); in Commit()
761 method_code_map_.Put(code_ptr, method); in Commit()
764 osr_code_map_.Put(method, code_ptr); in Commit()
773 saved_compiled_methods_map_.Put(method, code_ptr); in Commit()
783 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in Commit()
1262 const void* code_ptr = it->first; in RemoveUnmarkedCode() local
1263 uintptr_t allocation = FromCodeToAllocation(code_ptr); in RemoveUnmarkedCode()
1264 if (IsInZygoteExecSpace(code_ptr) || GetLiveBitmap()->Test(allocation)) { in RemoveUnmarkedCode()
1267 OatQuickMethodHeader* header = OatQuickMethodHeader::FromCodePointer(code_ptr); in RemoveUnmarkedCode()
1407 const void* code_ptr = data.GetCode(); in DoCollection() local
1408 if (IsInZygoteExecSpace(code_ptr)) { in DoCollection()
1411 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in DoCollection()
1414 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in DoCollection()
1421 const void* code_ptr = it.first; in DoCollection() local
1422 if (IsInZygoteExecSpace(code_ptr)) { in DoCollection()
1425 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in DoCollection()
1427 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in DoCollection()
1493 const void* code_ptr = it->second.GetCode(); in LookupMethodHeader() local
1494 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1500 const void* code_ptr = zygote_map_.GetCodeFor(method, pc); in LookupMethodHeader() local
1501 if (code_ptr != nullptr) { in LookupMethodHeader()
1502 return OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1508 const void* code_ptr = it->first; in LookupMethodHeader() local
1509 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->Contains(pc)) { in LookupMethodHeader()
1510 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
2001 if (it.code_ptr != nullptr && it.method != nullptr) { in VisitAllMethods()
2002 cb(it.code_ptr, it.method); in VisitAllMethods()
2035 const void* code_ptr = entry.code_ptr; in GetCodeFor() local
2036 if (code_ptr != nullptr) { in GetCodeFor()
2037 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetCodeFor()
2039 return code_ptr; in GetCodeFor()
2060 if (entry.code_ptr == nullptr) { in GetCodeFor()
2065 if (pc != 0 && !OatQuickMethodHeader::FromCodePointer(entry.code_ptr)->Contains(pc)) { in GetCodeFor()
2068 return entry.code_ptr; in GetCodeFor()