Lines Matching refs:code_ptr
348 const void* code_ptr = nullptr; in GetSavedEntryPointOfPreCompiledMethod() local
350 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
355 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
358 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
359 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
407 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
408 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
462 void JitCodeCache::FreeCodeAndData(const void* code_ptr, bool free_debug_info) { in FreeCodeAndData() argument
463 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
467 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
471 RemoveNativeDebugInfoForJit(ArrayRef<const void*>(&code_ptr, 1)); in FreeCodeAndData()
473 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->IsOptimized()) { in FreeCodeAndData()
474 private_region_.FreeData(GetRootTable(code_ptr)); in FreeCodeAndData()
664 const uint8_t* code_ptr = region->CommitCode( in Commit() local
666 if (code_ptr == nullptr) { in Commit()
669 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in Commit()
716 data->SetCode(code_ptr); in Commit()
720 zygote_map_.Put(code_ptr, method); in Commit()
722 method_code_map_.Put(code_ptr, method); in Commit()
726 osr_code_map_.Put(method, code_ptr); in Commit()
735 saved_compiled_methods_map_.Put(method, code_ptr); in Commit()
745 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in Commit()
1206 const void* code_ptr = it->first; in RemoveUnmarkedCode() local
1207 uintptr_t allocation = FromCodeToAllocation(code_ptr); in RemoveUnmarkedCode()
1208 if (IsInZygoteExecSpace(code_ptr) || GetLiveBitmap()->Test(allocation)) { in RemoveUnmarkedCode()
1211 OatQuickMethodHeader* header = OatQuickMethodHeader::FromCodePointer(code_ptr); in RemoveUnmarkedCode()
1300 const void* code_ptr = data.GetCode(); in DoCollection() local
1301 if (IsInZygoteExecSpace(code_ptr)) { in DoCollection()
1304 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in DoCollection()
1307 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in DoCollection()
1314 const void* code_ptr = it.first; in DoCollection() local
1315 if (IsInZygoteExecSpace(code_ptr)) { in DoCollection()
1318 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in DoCollection()
1320 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr)); in DoCollection()
1386 const void* code_ptr = it->second.GetCode(); in LookupMethodHeader() local
1387 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1393 const void* code_ptr = zygote_map_.GetCodeFor(method, pc); in LookupMethodHeader() local
1394 if (code_ptr != nullptr) { in LookupMethodHeader()
1395 return OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1401 const void* code_ptr = it->first; in LookupMethodHeader() local
1402 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->Contains(pc)) { in LookupMethodHeader()
1403 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in LookupMethodHeader()
1905 const void* code_ptr = entry.code_ptr; in GetCodeFor() local
1906 if (code_ptr != nullptr) { in GetCodeFor()
1907 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetCodeFor()
1909 return code_ptr; in GetCodeFor()
1930 if (entry.code_ptr == nullptr) { in GetCodeFor()
1935 if (pc != 0 && !OatQuickMethodHeader::FromCodePointer(entry.code_ptr)->Contains(pc)) { in GetCodeFor()
1938 return entry.code_ptr; in GetCodeFor()