/art/libartbase/base/ |
D | memory_region_test.cc | 26 MemoryRegion region(&data, n); in TEST() local 28 ASSERT_EQ(0, region.LoadUnaligned<char>(0)); in TEST() 33 region.LoadUnaligned<uint32_t>(1)); in TEST() 34 ASSERT_EQ(5 + (6 << kBitsPerByte), region.LoadUnaligned<int16_t>(5)); in TEST() 35 ASSERT_EQ(7u, region.LoadUnaligned<unsigned char>(7)); in TEST() 41 MemoryRegion region(&data, n); in TEST() local 43 region.StoreUnaligned<unsigned char>(0u, 7); in TEST() 44 region.StoreUnaligned<int16_t>(1, 6 + (5 << kBitsPerByte)); in TEST() 45 region.StoreUnaligned<uint32_t>(3, in TEST() 50 region.StoreUnaligned<char>(7, 0); in TEST()
|
D | bit_memory_region.h | 46 ALWAYS_INLINE explicit BitMemoryRegion(MemoryRegion region) in BitMemoryRegion() argument 47 : BitMemoryRegion(region.begin(), /* bit_start */ 0, region.size_in_bits()) { in BitMemoryRegion() 49 ALWAYS_INLINE BitMemoryRegion(MemoryRegion region, size_t bit_offset, size_t bit_length) in BitMemoryRegion() argument 50 : BitMemoryRegion(region) { in BitMemoryRegion() 342 BitMemoryRegion region(out_->data(), bit_offset_, bit_length); in Allocate() 345 return region; in Allocate() 348 ALWAYS_INLINE void WriteRegion(const BitMemoryRegion& region) { in WriteRegion() argument 349 Allocate(region.size_in_bits()).StoreBits(/* bit_offset */ 0, region, region.size_in_bits()); in WriteRegion()
|
D | bit_table.h | 415 MemoryRegion region(const_cast<void*>(bitmap), BitsToBytesRoundUp(num_bits)); in Dedup() 416 DCHECK(num_bits == 0 || BitMemoryRegion(region).LoadBit(num_bits - 1) == 1); in Dedup() 417 DCHECK_EQ(BitMemoryRegion(region).LoadBits(num_bits, region.size_in_bits() - num_bits), 0u); in Dedup() 419 uint32_t hash = hasher(region); in Dedup() 424 if (MemoryRegion::ContentEquals()(region, rows_[it->second])) { in Dedup() 431 void* copy = allocator_->Alloc(region.size(), kArenaAllocBitTableBuilder); in Dedup() 432 memcpy(copy, region.pointer(), region.size()); in Dedup() 433 rows_.push_back(MemoryRegion(copy, region.size())); in Dedup()
|
D | memory_region.h | 129 ALWAYS_INLINE void Extend(const MemoryRegion& region, uintptr_t extra) { in Extend() argument 130 pointer_ = region.pointer(); in Extend() 131 size_ = (region.size() + extra); in Extend()
|
/art/runtime/jit/ |
D | jit_scoped_code_cache_write.h | 38 explicit ScopedCodeCacheWrite(const JitMemoryRegion& region) in ScopedCodeCacheWrite() argument 40 region_(region) { in ScopedCodeCacheWrite() 41 if (kIsDebugBuild || !region.HasDualCodeMapping()) { in ScopedCodeCacheWrite() 43 const MemMap* const updatable_pages = region.GetUpdatableCodeMapping(); in ScopedCodeCacheWrite() 45 int prot = region.HasDualCodeMapping() ? kProtRW : kProtRWX; in ScopedCodeCacheWrite()
|
D | jit_code_cache.h | 117 explicit ZygoteMap(JitMemoryRegion* region) in ZygoteMap() argument 118 : map_(), region_(region), compilation_state_(nullptr) {} in ZygoteMap() 240 JitMemoryRegion* region, 258 JitMemoryRegion* region, 274 void Free(Thread* self, JitMemoryRegion* region, const uint8_t* code, const uint8_t* data) 277 void FreeLocked(JitMemoryRegion* region, const uint8_t* code, const uint8_t* data) 388 bool IsSharedRegion(const JitMemoryRegion& region) const { return ®ion == &shared_region_; } in IsSharedRegion() argument 393 JitMemoryRegion* region = GetCurrentRegion(); in CanAllocateProfilingInfo() local 394 return region->IsValid() && !IsSharedRegion(*region); in CanAllocateProfilingInfo()
|
D | jit_code_cache.cc | 237 JitMemoryRegion region; in Create() local 238 if (!region.Initialize(initial_capacity, in Create() 250 jit_code_cache->shared_region_ = std::move(region); in Create() 252 jit_code_cache->private_region_ = std::move(region); in Create() 639 JitMemoryRegion* region, in Commit() argument 656 DCheckRootsAreValid(roots, IsSharedRegion(*region)); in Commit() 667 const uint8_t* code_ptr = region->CommitCode( in Commit() 675 if (!region->CommitData(reserved_data, roots, stack_map)) { in Commit() 739 if (method->IsPreCompiled() && IsSharedRegion(*region)) { in Commit() 753 if (!IsSharedRegion(*region)) { in Commit() [all …]
|
D | jit.h | 200 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind)
|
/art/test/1000-non-moving-space-stress/ |
D | info.txt | 4 reference to an object cleared or moved from a newly allocated region 5 of the region space.
|
/art/compiler/utils/ |
D | assembler.cc | 54 void AssemblerBuffer::ProcessFixups(const MemoryRegion& region) { in ProcessFixups() argument 57 fixup->Process(region, fixup->position()); in ProcessFixups()
|
D | assembler.h | 50 virtual void Process(const MemoryRegion& region, int position) = 0; 168 void FinalizeInstructions(const MemoryRegion& region); 272 void ProcessFixups(const MemoryRegion& region); 378 virtual void FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument 379 buffer_.FinalizeInstructions(region); in FinalizeInstructions()
|
D | jni_macro_assembler.h | 95 virtual void FinalizeInstructions(const MemoryRegion& region) = 0; 304 void FinalizeInstructions(const MemoryRegion& region) override { in FinalizeInstructions() argument 305 asm_.FinalizeInstructions(region); in FinalizeInstructions()
|
/art/runtime/gc/space/ |
D | region_space-inl.h | 331 mirror::Object* region = nullptr; in AllocLarge() local 336 region = AllocLargeInRange<kForEvac>(cyclic_alloc_region_index_, in AllocLarge() 344 if (region == nullptr) { in AllocLarge() 348 region = AllocLargeInRange<kForEvac>( in AllocLarge() 358 if (region != nullptr) { in AllocLarge() 367 region = AllocLargeInRange<kForEvac>(0, in AllocLarge() 374 if (kForEvac && region != nullptr) { in AllocLarge() 377 return region; in AllocLarge()
|
D | region_space.cc | 313 Region* region = RefToRegionLocked(reinterpret_cast<mirror::Object*>(addr)); in ZeroLiveBytesForLargeObject() local 315 DCHECK(region->IsLarge()); in ZeroLiveBytesForLargeObject() 317 DCHECK(region->IsLargeTail()); in ZeroLiveBytesForLargeObject() 319 region->ZeroLiveBytes(); in ZeroLiveBytesForLargeObject()
|
/art/test/659-unpadded-array/ |
D | info.txt | 1 Regression test for the concurrent GC whose region space had
|
/art/runtime/ |
D | stack_map.cc | 93 CodeInfo code_info(code_info_data, nullptr, [&](size_t i, auto*, BitMemoryRegion region) { in Dedupe() argument 94 it[i] = dedupe_map_.emplace(region, /*bit_offset=*/0).first; in Dedupe() 95 if (it[i]->second != 0 && region.size_in_bits() > kMinDedupSize) { // Seen before and large? in Dedupe() 224 CodeInfo code_info(code_info_data, &num_bits, [&](size_t i, auto* table, BitMemoryRegion region) { in CollectSizeStats() argument 227 table_stats.AddBits(region.size_in_bits()); in CollectSizeStats() 228 table_stats["Header"].AddBits(region.size_in_bits() - table->DataBitSize()); in CollectSizeStats()
|
/art/test/090-loop-formation/ |
D | info.txt | 3 in the loop region, and the JIT compiler won't choke on unresolved fields.
|
/art/compiler/jit/ |
D | jit_compiler.h | 44 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind kind)
|
D | jit_compiler.cc | 168 Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind compilation_kind) { in CompileMethod() argument 193 self, code_cache, region, method, compilation_kind, jit_logger_.get()); in CompileMethod()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.cc | 83 void Arm64Assembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument 86 region.CopyFrom(0, from); in FinalizeInstructions()
|
D | assembler_arm64.h | 95 void FinalizeInstructions(const MemoryRegion& region) override;
|
/art/compiler/ |
D | compiler.h | 77 jit::JitMemoryRegion* region ATTRIBUTE_UNUSED, in JitCompile()
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 301 jit::JitMemoryRegion* region, 1226 jit::JitMemoryRegion* region, in JitCompile() argument 1237 DCHECK_EQ(compiler_options.IsJitCompilerForSharedCode(), code_cache->IsSharedRegion(*region)); in JitCompile() 1268 region, in JitCompile() 1305 region, in JitCompile() 1317 code_cache->Free(self, region, reserved_code.data(), reserved_data.data()); in JitCompile() 1367 region, in JitCompile() 1413 region, in JitCompile() 1425 code_cache->Free(self, region, reserved_code.data(), reserved_data.data()); in JitCompile()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 55 void ArmVIXLAssembler::FinalizeInstructions(const MemoryRegion& region) { in FinalizeInstructions() argument 58 region.CopyFrom(0, from); in FinalizeInstructions()
|
D | assembler_arm_vixl.h | 180 void FinalizeInstructions(const MemoryRegion& region) override;
|