Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 25 of 43) 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 …]
Dspace_bitmap_test.cc42 BitmapVerify(ContinuousSpaceBitmap* bitmap, const mirror::Object* begin, in BitmapVerify() argument
44 : bitmap_(bitmap), in BitmapVerify()
94 std::unique_ptr<ContinuousSpaceBitmap> bitmap( in TEST_F() local
96 EXPECT_TRUE(bitmap != nullptr); in TEST_F()
101 bitmap->Set(obj); in TEST_F()
115 bitmap->ClearRange(obj_begin, obj_end); in TEST_F()
118 EXPECT_TRUE(bitmap->Test(reinterpret_cast<mirror::Object*>(heap_begin + i))); in TEST_F()
121 EXPECT_TRUE(bitmap->Test(reinterpret_cast<mirror::Object*>(heap_begin + i))); in TEST_F()
125 EXPECT_FALSE(bitmap->Test(reinterpret_cast<mirror::Object*>(heap_begin + i))); in TEST_F()
126 bitmap->Set(reinterpret_cast<mirror::Object*>(heap_begin + i)); in TEST_F()
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, in Scan() argument
58 DCHECK_GE(scan_begin, reinterpret_cast<uint8_t*>(bitmap->HeapBegin())); in Scan()
60 DCHECK_LE(scan_end, reinterpret_cast<uint8_t*>(bitmap->HeapLimit())); in Scan()
72 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
101 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
115 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
Dspace_bitmap-inl.h186 inline std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap) {
188 << bitmap.GetName() << "["
189 << "begin=" << reinterpret_cast<const void*>(bitmap.HeapBegin())
190 << ",end=" << reinterpret_cast<const void*>(bitmap.HeapLimit())
Dspace_bitmap.h113 explicit ClearVisitor(SpaceBitmap* const bitmap) in ClearVisitor() argument
114 : bitmap_(bitmap) { in ClearVisitor()
228 std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap);
Dremembered_set.cc140 ContinuousSpaceBitmap* bitmap = space_->GetLiveBitmap(); in UpdateAndMarkReferences() local
146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
/art/tools/ahat/src/
DBitmapHandler.java41 BufferedImage bitmap = null; in handle() local
44 bitmap = inst.asBitmap(); in handle()
47 if (bitmap != null) { in handle()
51 ImageIO.write(bitmap, "png", os); in handle()
DSummarizer.java107 AhatInstance bitmap = inst.getAssociatedBitmapInstance(); in summarize() local
109 if (bitmap != null) { in summarize()
110 URI uri = DocString.formattedUri("bitmap?id=%d", bitmap.getId()); in summarize()
/art/runtime/arch/x86/
Dinstruction_set_features_x86.cc108 X86FeaturesUniquePtr X86InstructionSetFeatures::FromBitmap(uint32_t bitmap, bool x86_64) { in FromBitmap() argument
109 bool has_SSSE3 = (bitmap & kSsse3Bitfield) != 0; in FromBitmap()
110 bool has_SSE4_1 = (bitmap & kSse4_1Bitfield) != 0; in FromBitmap()
111 bool has_SSE4_2 = (bitmap & kSse4_2Bitfield) != 0; in FromBitmap()
112 bool has_AVX = (bitmap & kAvxBitfield) != 0; in FromBitmap()
113 bool has_AVX2 = (bitmap & kAvxBitfield) != 0; in FromBitmap()
114 bool has_POPCNT = (bitmap & kPopCntBitfield) != 0; in FromBitmap()
/art/runtime/arch/
Dinstruction_set_features.cc66 uint32_t bitmap) { in FromBitmap() argument
71 result.reset(ArmInstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
74 result.reset(Arm64InstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
77 result.reset(MipsInstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
80 result = Mips64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
83 result.reset(X86InstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
86 result.reset(X86_64InstructionSetFeatures::FromBitmap(bitmap).release()); in FromBitmap()
92 CHECK_EQ(bitmap, result->AsBitmap()); in FromBitmap()
/art/runtime/arch/mips/
Dinstruction_set_features_mips.cc106 MipsFeaturesUniquePtr MipsInstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
107 bool fpu_32bit = (bitmap & kFpu32Bitfield) != 0; in FromBitmap()
108 bool mips_isa_gte2 = (bitmap & kIsaRevGte2Bitfield) != 0; in FromBitmap()
109 bool r6 = (bitmap & kR6) != 0; in FromBitmap()
Dinstruction_set_features_mips.h36 static MipsFeaturesUniquePtr FromBitmap(uint32_t bitmap);
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64.h36 static X86_64FeaturesUniquePtr FromBitmap(uint32_t bitmap) { in FromBitmap() argument
37 return Convert(X86InstructionSetFeatures::FromBitmap(bitmap, true)); in FromBitmap()
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc109 ArmFeaturesUniquePtr ArmInstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
110 bool has_div = (bitmap & kDivBitfield) != 0; in FromBitmap()
111 bool has_atomic_ldrd_strd = (bitmap & kAtomicLdrdStrdBitfield) != 0; in FromBitmap()
112 bool has_armv8a = (bitmap & kARMv8A) != 0; in FromBitmap()
Dinstruction_set_features_arm.h34 static ArmFeaturesUniquePtr FromBitmap(uint32_t bitmap);
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h33 mirror::Object* ref, accounting::ContinuousSpaceBitmap* bitmap) { in MarkUnevacFromSpaceRegion() argument
43 if (bitmap->Test(ref)) { in MarkUnevacFromSpaceRegion()
56 success = !bitmap->AtomicTestAndSet(ref); in MarkUnevacFromSpaceRegion()
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64.cc75 Arm64FeaturesUniquePtr Arm64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
76 bool is_a53 = (bitmap & kA53Bitfield) != 0; in FromBitmap()
Dinstruction_set_features_arm64.h34 static Arm64FeaturesUniquePtr 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/arch/mips64/
Dinstruction_set_features_mips64.cc40 Mips64FeaturesUniquePtr Mips64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
41 bool msa = (bitmap & kMsaBitfield) != 0; in FromBitmap()
Dinstruction_set_features_mips64.h35 static Mips64FeaturesUniquePtr FromBitmap(uint32_t bitmap);
/art/tools/ahat/src/heapdump/
DAhatClassInstance.java219 BufferedImage bitmap = new BufferedImage( in asBitmap() local
221 bitmap.setRGB(0, 0, width, height, abgr, 0, width); in asBitmap()
222 return bitmap; in asBitmap()
/art/runtime/gc/space/
Dzygote_space.cc113 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback() local
115 bitmap->Clear(ptrs[i]); in SweepCallback()

12