Lines Matching defs:code_ptr
245 void JitCodeCache::FreeCode(const void* code_ptr, ArtMethod* method ATTRIBUTE_UNUSED) {
246 uintptr_t allocation = FromCodeToAllocation(code_ptr);
247 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);
250 DeleteJITCodeEntryForAddress(reinterpret_cast<uintptr_t>(code_ptr));
323 uint8_t* code_ptr = nullptr;
335 code_ptr = memory + header_size;
337 std::copy(code, code + code_size, code_ptr);
338 method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);
340 (vmap_table == nullptr) ? 0 : code_ptr - vmap_table,
351 FlushInstructionCache(reinterpret_cast<char*>(code_ptr),
352 reinterpret_cast<char*>(code_ptr + code_size));
360 method_code_map_.Put(code_ptr, method);
363 osr_code_map_.Put(method, code_ptr);
371 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr));
671 const void* code_ptr = it->first;
673 uintptr_t allocation = FromCodeToAllocation(code_ptr);
677 FreeCode(code_ptr, method);
716 const void* code_ptr = it.first;
717 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);
719 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(code_ptr));
776 const void* code_ptr = it.first;
777 const OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);
806 const void* code_ptr = it->first;
807 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(code_ptr);