Home
last modified time | relevance | path

Searched refs:code_ptr (Results 1 – 9 of 9) sorted by relevance

/art/runtime/jit/
Djit_code_cache.cc337 const void* code_ptr = nullptr; in GetSavedEntryPointOfPreCompiledMethod() local
339 code_ptr = zygote_map_.GetCodeFor(method); in GetSavedEntryPointOfPreCompiledMethod()
344 code_ptr = it->second; in GetSavedEntryPointOfPreCompiledMethod()
349 if (code_ptr != nullptr) { in GetSavedEntryPointOfPreCompiledMethod()
350 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetSavedEntryPointOfPreCompiledMethod()
403 static const uint8_t* GetRootTable(const void* code_ptr, uint32_t* number_of_roots = nullptr) { in GetRootTable() argument
404 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in GetRootTable()
467 void JitCodeCache::FreeCodeAndData(const void* code_ptr) { in FreeCodeAndData() argument
468 if (IsInZygoteExecSpace(code_ptr)) { in FreeCodeAndData()
472 uintptr_t allocation = FromCodeToAllocation(code_ptr); in FreeCodeAndData()
[all …]
Ddebugger_interface.h54 void AddNativeDebugInfoForJit(const void* code_ptr,
61 void RemoveNativeDebugInfoForJit(const void* code_ptr);
Ddebugger_interface.cc580 void AddNativeDebugInfoForJit(const void* code_ptr, in AddNativeDebugInfoForJit() argument
585 if (kIsDebugBuild && code_ptr != nullptr) { in AddNativeDebugInfoForJit()
586 DCHECK(g_dcheck_all_jit_functions.insert(code_ptr).second) << code_ptr << " already added"; in AddNativeDebugInfoForJit()
597 /*addr=*/ code_ptr, in AddNativeDebugInfoForJit()
601 if (code_ptr == nullptr) { in AddNativeDebugInfoForJit()
605 << "JIT mini-debug-info added for native code at " << code_ptr in AddNativeDebugInfoForJit()
619 void RemoveNativeDebugInfoForJit(const void* code_ptr) { in RemoveNativeDebugInfoForJit() argument
621 g_dcheck_all_jit_functions.erase(code_ptr); in RemoveNativeDebugInfoForJit()
625 g_removed_jit_functions.push_back(code_ptr); in RemoveNativeDebugInfoForJit()
627 VLOG(jit) << "JIT mini-debug-info removed for " << code_ptr; in RemoveNativeDebugInfoForJit()
Djit_code_cache.h115 const void* code_ptr; member
425 void AddZombieCode(ArtMethod* method, const void* code_ptr) NO_THREAD_SAFETY_ANALYSIS;
433 void AddZombieCodeInternal(ArtMethod* method, const void* code_ptr)
468 void FreeCodeAndData(const void* code_ptr)
/art/compiler/
Dexception_test.cc109 uint8_t* code_ptr = in SetUp() local
113 OatQuickMethodHeader method_header(code_ptr - fake_header_code_and_maps_); in SetUp()
115 memcpy(code_ptr - header_size, &method_header, header_size); in SetUp()
116 memcpy(code_ptr, fake_code.data(), fake_code.size()); in SetUp()
120 CHECK_ALIGNED(code_ptr, 2); in SetUp()
126 method_f_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
131 method_g_->SetEntryPointFromQuickCompiledCode(code_ptr); in SetUp()
/art/runtime/oat/
Doat_quick_method_header.h56 static OatQuickMethodHeader* FromCodePointer(const void* code_ptr) { in FromCodePointer() argument
57 uintptr_t code = reinterpret_cast<uintptr_t>(code_ptr); in FromCodePointer()
/art/compiler/debug/
Delf_debug_writer.cc244 const void* code_ptr = AlignDown(reinterpret_cast<const void*>(addr), kPcAlign); in PackElfFileForJIT() local
245 return std::binary_search(removed_symbols.begin(), removed_symbols.end(), code_ptr); in PackElfFileForJIT()
/art/dex2oat/linker/
Doat_writer.cc1453 const void* code_ptr = in StartClass() local
1455 if (code_ptr == nullptr) { in StartClass()
1459 code_ptr, pointer_size_); in StartClass()
1508 const void* code_ptr = in Postprocess() local
1510 if (code_ptr != nullptr) { in Postprocess()
1511 method->SetEntryPointFromQuickCompiledCodePtrSize(code_ptr, pointer_size_); in Postprocess()
/art/compiler/jni/
Djni_compiler_test.cc429 const void* code_ptr = EntryPointToCodePointer(caller->GetEntryPointFromQuickCompiledCode()); in AssertCallerObjectLocked() local
430 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr); in AssertCallerObjectLocked()