Lines Matching refs:data

327     JniStubData& data = it->second;  in GetJniStubCode()  local
328 if (data.IsCompiled() && ContainsElement(data.GetMethods(), method)) { in GetJniStubCode()
329 return data.GetCode(); in GetJniStubCode()
419 uint8_t* data = method_header->GetOptimizedCodeInfoPtr(); in GetRootTable() local
420 uint32_t roots = GetNumberOfRoots(data); in GetRootTable()
424 return data - ComputeRootTableSize(roots); in GetRootTable()
478 const uint8_t* data = nullptr; in FreeCodeAndData() local
480 data = GetRootTable(code_ptr); in FreeCodeAndData()
483 FreeLocked(&private_region_, reinterpret_cast<uint8_t*>(allocation), data); in FreeCodeAndData()
678 const uint8_t* roots_data = reserved_data.data(); in Commit()
752 JniStubData* data = &it->second; in Commit() local
753 DCHECK(ContainsElement(data->GetMethods(), method)) in Commit()
755 data->SetCode(code_ptr); in Commit()
756 data->UpdateEntryPoints(method_header->GetEntryPoint()); in Commit()
893 JniStubData& data = entry.second; in MoveObsoleteMethod() local
894 data.MoveObsoleteMethod(old_method, new_method); in MoveObsoleteMethod()
977 const uint8_t* data; in Reserve() local
986 data = region->AllocateData(data_size); in Reserve()
989 if (code != nullptr && data != nullptr) { in Reserve()
992 Free(self, region, code, data); in Reserve()
1005 *reserved_data = ArrayRef<const uint8_t>(data, data_size); in Reserve()
1028 const uint8_t* data) { in Free() argument
1031 FreeLocked(region, code, data); in Free()
1034 void JitCodeCache::FreeLocked(JitMemoryRegion* region, const uint8_t* code, const uint8_t* data) { in FreeLocked() argument
1039 if (data != nullptr) { in FreeLocked()
1040 region->FreeData(data); in FreeLocked()
1217 const JniStubData& data = entry.second; in GarbageCollectCache() local
1218 if (!data.IsCompiled() || IsInZygoteExecSpace(data.GetCode())) { in GarbageCollectCache()
1224 OatQuickMethodHeader::FromCodePointer(data.GetCode()); in GarbageCollectCache()
1225 for (ArtMethod* method : data.GetMethods()) { in GarbageCollectCache()
1248 JniStubData* data = &it->second; in RemoveUnmarkedCode() local
1249 if (IsInZygoteExecSpace(data->GetCode()) || in RemoveUnmarkedCode()
1250 !data->IsCompiled() || in RemoveUnmarkedCode()
1251 GetLiveBitmap()->Test(FromCodeToAllocation(data->GetCode()))) { in RemoveUnmarkedCode()
1254 method_headers.insert(OatQuickMethodHeader::FromCodePointer(data->GetCode())); in RemoveUnmarkedCode()
1255 for (ArtMethod* method : data->GetMethods()) { in RemoveUnmarkedCode()
1256 VLOG(jit) << "JIT removed (JNI) " << method->PrettyMethod() << ": " << data->GetCode(); in RemoveUnmarkedCode()
1406 const JniStubData& data = entry.second; in DoCollection() local
1407 const void* code_ptr = data.GetCode(); in DoCollection()
1412 for (ArtMethod* method : data.GetMethods()) { in DoCollection()
1518 const JniStubData& data = entry.second; in LookupMethodHeader() local
1519 if (data.IsCompiled() && in LookupMethodHeader()
1520 OatQuickMethodHeader::FromCodePointer(data.GetCode())->Contains(pc)) { in LookupMethodHeader()
1521 method_header = OatQuickMethodHeader::FromCodePointer(data.GetCode()); in LookupMethodHeader()
1591 const uint8_t* data = private_region_.AllocateData(profile_info_size); in AddProfilingInfoInternal() local
1592 if (data == nullptr) { in AddProfilingInfoInternal()
1595 uint8_t* writable_data = private_region_.GetWritableDataAddress(data); in AddProfilingInfoInternal()
1762 JniStubData* data = &it->second; in NotifyCompilationOf() local
1763 data->AddMethod(method); in NotifyCompilationOf()
1764 if (data->IsCompiled()) { in NotifyCompilationOf()
1765 OatQuickMethodHeader* method_header = OatQuickMethodHeader::FromCodePointer(data->GetCode()); in NotifyCompilationOf()
1772 data->UpdateEntryPoints(entrypoint); in NotifyCompilationOf()
1774 if (!IsInZygoteExecSpace(data->GetCode())) { in NotifyCompilationOf()
1775 GetLiveBitmap()->AtomicTestAndSet(FromCodeToAllocation(data->GetCode())); in NotifyCompilationOf()
1836 JniStubData* data = &it->second; in DoneCompiling() local
1837 DCHECK(ContainsElement(data->GetMethods(), method)); in DoneCompiling()
1838 if (UNLIKELY(!data->IsCompiled())) { in DoneCompiling()
1987 const JniStubData& data = it.second; in VisitAllMethods() local
1988 if (data.IsCompiled()) { in VisitAllMethods()
1989 for (ArtMethod* method : data.GetMethods()) { in VisitAllMethods()
1990 cb(data.GetCode(), method); in VisitAllMethods()
2018 const Entry* data = reinterpret_cast<const Entry*>(memory); in Initialize() local
2019 region_->FillData(data, capacity, Entry { nullptr, nullptr }); in Initialize()
2020 map_ = ArrayRef(data, capacity); in Initialize()