Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 25 of 36) sorted by relevance

12

/art/runtime/gc/accounting/
Dheap_bitmap-inl.h30 for (const auto& bitmap : continuous_space_bitmaps_) { in Visit() local
31 bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor); in Visit()
33 for (const auto& bitmap : large_object_bitmaps_) { in Visit() local
34 bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor); in Visit()
39 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Test() local
40 if (LIKELY(bitmap != nullptr)) { in Test()
41 return bitmap->Test(obj); in Test()
53 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); in Clear() local
54 if (LIKELY(bitmap != nullptr)) { in Clear()
55 bitmap->Clear(obj); in Clear()
[all …]
Dheap_bitmap.cc43 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in AddContinuousSpaceBitmap() argument
44 DCHECK(bitmap != nullptr); in AddContinuousSpaceBitmap()
47 CHECK(bitmap->HeapBegin() >= cur_bitmap->HeapLimit() || in AddContinuousSpaceBitmap()
48 bitmap->HeapLimit() <= cur_bitmap->HeapBegin()) in AddContinuousSpaceBitmap()
49 << "Bitmap " << bitmap->Dump() << " overlaps with existing bitmap " in AddContinuousSpaceBitmap()
52 continuous_space_bitmaps_.push_back(bitmap); in AddContinuousSpaceBitmap()
55 void HeapBitmap::RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in RemoveContinuousSpaceBitmap() argument
56 DCHECK(bitmap != nullptr); in RemoveContinuousSpaceBitmap()
57 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap()
62 void HeapBitmap::AddLargeObjectBitmap(LargeObjectBitmap* bitmap) { in AddLargeObjectBitmap() argument
[all …]
Dheap_bitmap.h72 void AddContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap);
73 void RemoveContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap);
74 void AddLargeObjectBitmap(LargeObjectBitmap* bitmap);
75 void RemoveLargeObjectBitmap(LargeObjectBitmap* bitmap);
Dcard_table-inl.h53 inline size_t CardTable::Scan(ContinuousSpaceBitmap* bitmap, uint8_t* scan_begin, uint8_t* scan_end, in Scan() argument
55 DCHECK_GE(scan_begin, reinterpret_cast<uint8_t*>(bitmap->HeapBegin())); in Scan()
57 DCHECK_LE(scan_end, reinterpret_cast<uint8_t*>(bitmap->HeapLimit())); in Scan()
68 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
100 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
117 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
Dspace_bitmap-inl.h179 inline std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap) {
181 << bitmap.GetName() << "["
182 << "begin=" << reinterpret_cast<const void*>(bitmap.HeapBegin())
183 << ",end=" << reinterpret_cast<const void*>(bitmap.HeapLimit())
Dspace_bitmap.h105 explicit ClearVisitor(SpaceBitmap* const bitmap) in ClearVisitor() argument
106 : bitmap_(bitmap) { in ClearVisitor()
234 std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap);
Dspace_bitmap_test.cc42 BitmapVerify(ContinuousSpaceBitmap* bitmap, const mirror::Object* begin, in BitmapVerify() argument
44 : bitmap_(bitmap), in BitmapVerify()
Dremembered_set.cc130 ContinuousSpaceBitmap* bitmap = space_->GetLiveBitmap(); in UpdateAndMarkReferences() local
136 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
Dcard_table.h107 size_t Scan(SpaceBitmap<kObjectAlignment>* bitmap, uint8_t* scan_begin, uint8_t* scan_end,
/art/runtime/arch/
Dinstruction_set_features.cc65 uint32_t bitmap) { in FromBitmap() argument
70 result = ArmInstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
73 result = Arm64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
76 result = MipsInstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
79 result = Mips64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
82 result = X86InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
85 result = X86_64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
91 CHECK_EQ(bitmap, result->AsBitmap()); in FromBitmap()
Dinstruction_set_features.h44 static const InstructionSetFeatures* FromBitmap(InstructionSet isa, uint32_t bitmap);
/art/runtime/arch/x86/
Dinstruction_set_features_x86.cc78 const X86InstructionSetFeatures* X86InstructionSetFeatures::FromBitmap(uint32_t bitmap, in FromBitmap() argument
80 bool smp = (bitmap & kSmpBitfield) != 0; in FromBitmap()
81 bool has_SSSE3 = (bitmap & kSsse3Bitfield) != 0; in FromBitmap()
82 bool has_SSE4_1 = (bitmap & kSse4_1Bitfield) != 0; in FromBitmap()
83 bool has_SSE4_2 = (bitmap & kSse4_2Bitfield) != 0; in FromBitmap()
84 bool has_AVX = (bitmap & kAvxBitfield) != 0; in FromBitmap()
85 bool has_AVX2 = (bitmap & kAvxBitfield) != 0; in FromBitmap()
Dinstruction_set_features_x86.h33 static const X86InstructionSetFeatures* FromBitmap(uint32_t bitmap, bool x86_64 = false);
/art/runtime/arch/mips/
Dinstruction_set_features_mips.cc102 const MipsInstructionSetFeatures* MipsInstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
103 bool smp = (bitmap & kSmpBitfield) != 0; in FromBitmap()
104 bool fpu_32bit = (bitmap & kFpu32Bitfield) != 0; in FromBitmap()
105 bool mips_isa_gte2 = (bitmap & kIsaRevGte2Bitfield) != 0; in FromBitmap()
106 bool r6 = (bitmap & kR6) != 0; in FromBitmap()
Dinstruction_set_features_mips.h32 static const MipsInstructionSetFeatures* FromBitmap(uint32_t bitmap);
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64.cc58 const Arm64InstructionSetFeatures* Arm64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
59 bool smp = (bitmap & kSmpBitfield) != 0; in FromBitmap()
60 bool is_a53 = (bitmap & kA53Bitfield) != 0; in FromBitmap()
Dinstruction_set_features_arm64.h32 static const Arm64InstructionSetFeatures* FromBitmap(uint32_t bitmap);
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc103 const ArmInstructionSetFeatures* ArmInstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
104 bool smp = (bitmap & kSmpBitfield) != 0; in FromBitmap()
105 bool has_div = (bitmap & kDivBitfield) != 0; in FromBitmap()
106 bool has_atomic_ldrd_strd = (bitmap & kAtomicLdrdStrdBitfield) != 0; in FromBitmap()
Dinstruction_set_features_arm.h32 static const ArmInstructionSetFeatures* FromBitmap(uint32_t bitmap);
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64.h35 static const X86_64InstructionSetFeatures* FromBitmap(uint32_t bitmap) { in FromBitmap() argument
36 return X86InstructionSetFeatures::FromBitmap(bitmap, true)->AsX86_64InstructionSetFeatures(); in FromBitmap()
/art/patchoat/
Dpatchoat.h65 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, in PatchOat() argument
67 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
70 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, in PatchOat() argument
72 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
/art/runtime/arch/mips64/
Dinstruction_set_features_mips64.cc36 const Mips64InstructionSetFeatures* Mips64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
37 bool smp = (bitmap & kSmpBitfield) != 0; in FromBitmap()
Dinstruction_set_features_mips64.h32 static const Mips64InstructionSetFeatures* FromBitmap(uint32_t bitmap);
/art/runtime/gc/
Dheap_test.cc68 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap( in TEST_F() local
72 bitmap->Set(fake_end_of_heap_object); in TEST_F()
/art/runtime/gc/space/
Dzygote_space.cc114 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback() local
116 bitmap->Clear(ptrs[i]); in SweepCallback()

12