Home
last modified time | relevance | path

Searched refs:bitmap (Results 1 – 25 of 47) 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.cc26 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in AddContinuousSpaceBitmap() argument
27 DCHECK(bitmap != nullptr); in AddContinuousSpaceBitmap()
30 CHECK(bitmap->HeapBegin() >= cur_bitmap->HeapLimit() || in AddContinuousSpaceBitmap()
31 bitmap->HeapLimit() <= cur_bitmap->HeapBegin()) in AddContinuousSpaceBitmap()
32 << "Bitmap " << bitmap->Dump() << " overlaps with existing bitmap " in AddContinuousSpaceBitmap()
35 continuous_space_bitmaps_.push_back(bitmap); in AddContinuousSpaceBitmap()
38 void HeapBitmap::RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in RemoveContinuousSpaceBitmap() argument
39 DCHECK(bitmap != nullptr); in RemoveContinuousSpaceBitmap()
40 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap); in RemoveContinuousSpaceBitmap()
45 void HeapBitmap::AddLargeObjectBitmap(LargeObjectBitmap* bitmap) { in AddLargeObjectBitmap() argument
[all …]
Dheap_bitmap.h63 void AddContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap);
64 void RemoveContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap);
65 void AddLargeObjectBitmap(LargeObjectBitmap* bitmap);
66 void RemoveLargeObjectBitmap(LargeObjectBitmap* bitmap);
Dspace_bitmap_test.cc79 BitmapVerify(SpaceBitmap* bitmap, const mirror::Object* begin, in BitmapVerify() argument
81 : bitmap_(bitmap), in BitmapVerify()
133 auto bitmap(TypeParam::SpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TYPED_TEST() local
134 EXPECT_TRUE(bitmap.IsValid()); in TYPED_TEST()
139 bitmap.Set(obj); in TYPED_TEST()
154 bitmap.ClearRange(obj_begin, obj_end); in TYPED_TEST()
157 EXPECT_TRUE(bitmap.Test(reinterpret_cast<mirror::Object*>(heap_begin + i))); in TYPED_TEST()
160 EXPECT_TRUE(bitmap.Test(reinterpret_cast<mirror::Object*>(heap_begin + i))); in TYPED_TEST()
164 EXPECT_FALSE(bitmap.Test(reinterpret_cast<mirror::Object*>(heap_begin + i))); in TYPED_TEST()
165 bitmap.Set(reinterpret_cast<mirror::Object*>(heap_begin + i)); in TYPED_TEST()
Dcard_table-inl.h55 inline size_t CardTable::Scan(ContinuousSpaceBitmap* bitmap, in Scan() argument
60 DCHECK_GE(scan_begin, reinterpret_cast<uint8_t*>(bitmap->HeapBegin())); in Scan()
62 DCHECK_LE(scan_end, reinterpret_cast<uint8_t*>(bitmap->HeapLimit())); in Scan()
74 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
107 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
121 bitmap->VisitMarkedRange(start, start + kCardSize, visitor); in Scan()
Dspace_bitmap-inl.h260 inline std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap) {
262 << bitmap.GetName() << "["
263 << "begin=" << reinterpret_cast<const void*>(bitmap.HeapBegin())
264 << ",end=" << reinterpret_cast<const void*>(bitmap.HeapLimit())
Dremembered_set.cc139 ContinuousSpaceBitmap* bitmap = space_->GetLiveBitmap(); in UpdateAndMarkReferences() local
145 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor); in UpdateAndMarkReferences()
/art/tools/ahat/src/main/com/android/ahat/
DBitmapHandler.java47 BufferedImage bitmap) throws IOException { in handle_BufferedImage() argument
48 if (bitmap == null) { in handle_BufferedImage()
55 ImageIO.write(bitmap, "png", os); in handle_BufferedImage()
70 AhatBitmapInstance.Bitmap bitmap = inst.asBitmapInstance().getBitmap(); in handle() local
71 if (bitmap == null) { in handle()
76 if (bitmap.image != null) { in handle()
77 handle_BufferedImage(exchange, bitmap.image); in handle()
81 exchange.getResponseHeaders().add("Content-Type", bitmap.format); in handle()
84 os.write(bitmap.buffer); in handle()
DSummarizer.java103 AhatInstance bitmap = inst.getAssociatedBitmapInstance(); in summarize() local
104 if (bitmap != null) { in summarize()
105 URI uri = DocString.formattedUri("bitmap?id=0x%x", bitmap.getId()); in summarize()
DObjectHandler.java247 AhatInstance bitmap = inst.getAssociatedBitmapInstance(); in printBitmap() local
248 if (bitmap != null) { in printBitmap()
251 DocString.formattedUri("bitmap?id=0x%x", bitmap.getId()), "bitmap image")); in printBitmap()
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64.cc187 Arm64FeaturesUniquePtr Arm64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
188 bool is_a53 = (bitmap & kA53Bitfield) != 0; in FromBitmap()
189 bool has_crc = (bitmap & kCRCBitField) != 0; in FromBitmap()
190 bool has_lse = (bitmap & kLSEBitField) != 0; in FromBitmap()
191 bool has_fp16 = (bitmap & kFP16BitField) != 0; in FromBitmap()
192 bool has_dotprod = (bitmap & kDotProdBitField) != 0; in FromBitmap()
193 bool has_sve = (bitmap & kSVEBitField) != 0; in FromBitmap()
Dinstruction_set_features_arm64.h38 static Arm64FeaturesUniquePtr FromBitmap(uint32_t bitmap);
/art/runtime/arch/x86/
Dinstruction_set_features_x86.cc168 X86FeaturesUniquePtr X86InstructionSetFeatures::FromBitmap(uint32_t bitmap, bool x86_64) { in FromBitmap() argument
169 bool has_SSSE3 = (bitmap & kSsse3Bitfield) != 0; in FromBitmap()
170 bool has_SSE4_1 = (bitmap & kSse4_1Bitfield) != 0; in FromBitmap()
171 bool has_SSE4_2 = (bitmap & kSse4_2Bitfield) != 0; in FromBitmap()
172 bool has_AVX = (bitmap & kAvxBitfield) != 0; in FromBitmap()
173 bool has_AVX2 = (bitmap & kAvxBitfield) != 0; in FromBitmap()
174 bool has_POPCNT = (bitmap & kPopCntBitfield) != 0; in FromBitmap()
/art/runtime/arch/
Dinstruction_set_features.cc83 uint32_t bitmap) { in FromBitmap() argument
88 result = ArmInstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
91 result = Arm64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
94 result = Riscv64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
97 result = X86InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
100 result = X86_64InstructionSetFeatures::FromBitmap(bitmap); in FromBitmap()
107 CHECK_EQ(bitmap, result->AsBitmap()); in FromBitmap()
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64.h37 static X86_64FeaturesUniquePtr FromBitmap(uint32_t bitmap) { in FromBitmap() argument
38 return Convert(X86InstructionSetFeatures::FromBitmap(bitmap, true)); in FromBitmap()
/art/dex2oat/linker/
Dimage_test.cc250 std::unique_ptr<uint8_t> bitmap(new uint8_t[kElfSegmentAlignment]); in TEST_F() local
251 memset(bitmap.get(), 0, kElfSegmentAlignment); in TEST_F()
256 bitmap.get(), in TEST_F()
272 bitmap.get(), in TEST_F()
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc136 ArmFeaturesUniquePtr ArmInstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
137 bool has_div = (bitmap & kDivBitfield) != 0; in FromBitmap()
138 bool has_atomic_ldrd_strd = (bitmap & kAtomicLdrdStrdBitfield) != 0; in FromBitmap()
139 bool has_armv8a = (bitmap & kARMv8A) != 0; in FromBitmap()
Dinstruction_set_features_arm.h35 static ArmFeaturesUniquePtr FromBitmap(uint32_t bitmap);
/art/libartbase/base/
Dbit_table_test.cc148 uint64_t bitmap = value & MaxInt<uint64_t>(bit_length); in TEST() local
149 indices.emplace(bitmap, builder.Dedup(&bitmap, MinimumBitsToStore(bitmap))); in TEST()
/art/runtime/arch/riscv64/
Dinstruction_set_features_riscv64.cc48 Riscv64FeaturesUniquePtr Riscv64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { in FromBitmap() argument
49 return Riscv64FeaturesUniquePtr(new Riscv64InstructionSetFeatures(bitmap)); in FromBitmap()
Dinstruction_set_features_riscv64.h44 static Riscv64FeaturesUniquePtr FromBitmap(uint32_t bitmap);
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h38 accounting::ContinuousSpaceBitmap* bitmap) { in MarkUnevacFromSpaceRegion() argument
68 if (bitmap->Test(ref)) { in MarkUnevacFromSpaceRegion()
82 success = !bitmap->AtomicTestAndSet(ref); in MarkUnevacFromSpaceRegion()
/art/runtime/gc/space/
Dzygote_space.cc126 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback() local
128 bitmap->Clear(ptrs[i]); in SweepCallback()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatBitmapInstance.java331 BufferedImage bitmap = new BufferedImage( in asBufferedImage() local
333 bitmap.setRGB(0, 0, info.width, info.height, abgr, 0, info.width); in asBufferedImage()
334 return bitmap; in asBufferedImage()
/art/sigchainlib/
Dsigchain.cc241 uintptr_t bitmap = reinterpret_cast<uintptr_t>(pthread_getspecific(key)); in SetHandlingSignal() local
242 bool ret = bitmap & bit_mask; in SetHandlingSignal()
244 bitmap |= bit_mask; in SetHandlingSignal()
246 bitmap &= ~bit_mask; in SetHandlingSignal()
248 pthread_setspecific(key, reinterpret_cast<void*>(bitmap)); in SetHandlingSignal()

12