Searched refs:bitmap (Results 1 - 25 of 43) sorted by relevance

12

/art/runtime/gc/accounting/
H A Dheap_bitmap.cc30 CHECK(it != continuous_space_bitmaps_.end()) << " continuous space bitmap " << old_bitmap
38 CHECK(it != large_object_bitmaps_.end()) << " large object bitmap " << old_bitmap
43 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { argument
44 DCHECK(bitmap != nullptr);
45 // Check that there is no bitmap overlap.
47 CHECK(bitmap->HeapBegin() >= cur_bitmap->HeapLimit() ||
48 bitmap->HeapLimit() <= cur_bitmap->HeapBegin())
49 << "Bitmap " << bitmap->Dump() << " overlaps with existing bitmap "
52 continuous_space_bitmaps_.push_back(bitmap);
55 RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) argument
62 AddLargeObjectBitmap(LargeObjectBitmap* bitmap) argument
67 RemoveLargeObjectBitmap(LargeObjectBitmap* bitmap) argument
[all...]
H A Dheap_bitmap-inl.h30 for (const auto& bitmap : continuous_space_bitmaps_) {
31 bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor);
33 for (const auto& bitmap : large_object_bitmaps_) {
34 bitmap->VisitMarkedRange(bitmap->HeapBegin(), bitmap->HeapLimit(), visitor);
39 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
40 if (LIKELY(bitmap !
53 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
68 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
85 ContinuousSpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
[all...]
H A Dheap_bitmap.h58 // Find and replace a bitmap pointer, this is used by for the bitmap swapping in the GC.
62 // Find and replace a object set pointer, this is used by for the bitmap swapping in the GC.
71 void AddContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap);
72 void RemoveContinuousSpaceBitmap(ContinuousSpaceBitmap* bitmap);
73 void AddLargeObjectBitmap(LargeObjectBitmap* bitmap);
74 void RemoveLargeObjectBitmap(LargeObjectBitmap* bitmap);
H A Dspace_bitmap_test.cc37 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity));
43 BitmapVerify(ContinuousSpaceBitmap* bitmap, const mirror::Object* begin, argument
45 : bitmap_(bitmap),
65 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity));
95 std::unique_ptr<ContinuousSpaceBitmap> bitmap(
96 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity));
97 EXPECT_TRUE(bitmap != nullptr);
99 // Set all of the bits in the bitmap.
102 bitmap->Set(obj);
116 bitmap
[all...]
H A Dcard_table-inl.h55 inline size_t CardTable::Scan(ContinuousSpaceBitmap* bitmap, argument
60 DCHECK_GE(scan_begin, reinterpret_cast<uint8_t*>(bitmap->HeapBegin()));
62 DCHECK_LE(scan_end, reinterpret_cast<uint8_t*>(bitmap->HeapLimit()));
74 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
96 // TODO: Investigate if processing continuous runs of dirty cards with a single bitmap visit is
103 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
117 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
H A Dspace_bitmap-inl.h138 // Do not read memory, as it could be after the end of the bitmap.
197 // Check the bit before setting the word incase we are trying to mark a read only bitmap
198 // like an image space bitmap. This bitmap is mapped as read only and will fault if we
201 // occur if the bitmap was read write and we did not check the bit.
213 inline std::ostream& operator << (std::ostream& stream, const SpaceBitmap<kAlignment>& bitmap) { argument
215 << bitmap.GetName() << "["
216 << "begin=" << reinterpret_cast<const void*>(bitmap.HeapBegin())
217 << ",end=" << reinterpret_cast<const void*>(bitmap.HeapLimit())
H A Dremembered_set.cc140 ContinuousSpaceBitmap* bitmap = space_->GetLiveBitmap(); local
146 bitmap->VisitMarkedRange(start, start + CardTable::kCardSize, obj_visitor);
/art/tools/ahat/src/main/com/android/ahat/
H A DBitmapHandler.java41 BufferedImage bitmap = null;
44 bitmap = inst.asBitmap();
47 if (bitmap != null) {
51 ImageIO.write(bitmap, "png", os);
58 doc.big(DocString.text("No bitmap found for the given request."));
H A DSummarizer.java102 AhatInstance bitmap = inst.getAssociatedBitmapInstance();
104 if (bitmap != null) {
105 URI uri = DocString.formattedUri("bitmap?id=0x%x", bitmap.getId());
106 formatted.appendThumbnail(uri, "bitmap image");
/art/runtime/arch/
H A Dinstruction_set_features.cc58 uint32_t bitmap) {
63 result = ArmInstructionSetFeatures::FromBitmap(bitmap);
66 result = Arm64InstructionSetFeatures::FromBitmap(bitmap);
69 result = MipsInstructionSetFeatures::FromBitmap(bitmap);
72 result = Mips64InstructionSetFeatures::FromBitmap(bitmap);
75 result = X86InstructionSetFeatures::FromBitmap(bitmap);
78 result = X86_64InstructionSetFeatures::FromBitmap(bitmap);
86 CHECK_EQ(bitmap, result->AsBitmap());
57 FromBitmap(InstructionSet isa, uint32_t bitmap) argument
H A Dinstruction_set_features.h44 // Parse a bitmap for the given isa and create an InstructionSetFeatures.
46 uint32_t bitmap);
91 // Return a bitmap that represents the features. ISA specific.
/art/runtime/arch/x86_64/
H A Dinstruction_set_features_x86_64.h35 // Parse a bitmap and create an InstructionSetFeatures.
36 static X86_64FeaturesUniquePtr FromBitmap(uint32_t bitmap) { argument
37 return Convert(X86InstructionSetFeatures::FromBitmap(bitmap, true));
/art/runtime/arch/x86/
H A Dinstruction_set_features_x86.cc113 X86FeaturesUniquePtr X86InstructionSetFeatures::FromBitmap(uint32_t bitmap, bool x86_64) { argument
114 bool has_SSSE3 = (bitmap & kSsse3Bitfield) != 0;
115 bool has_SSE4_1 = (bitmap & kSse4_1Bitfield) != 0;
116 bool has_SSE4_2 = (bitmap & kSse4_2Bitfield) != 0;
117 bool has_AVX = (bitmap & kAvxBitfield) != 0;
118 bool has_AVX2 = (bitmap & kAvxBitfield) != 0;
119 bool has_POPCNT = (bitmap & kPopCntBitfield) != 0;
H A Dinstruction_set_features_x86.h35 // Parse a bitmap and create an InstructionSetFeatures.
36 static X86FeaturesUniquePtr FromBitmap(uint32_t bitmap, bool x86_64 = false);
107 // Bitmap positions for encoding features as a bitmap.
/art/runtime/arch/mips/
H A Dinstruction_set_features_mips.cc109 MipsFeaturesUniquePtr MipsInstructionSetFeatures::FromBitmap(uint32_t bitmap) { argument
110 bool fpu_32bit = (bitmap & kFpu32Bitfield) != 0;
111 bool mips_isa_gte2 = (bitmap & kIsaRevGte2Bitfield) != 0;
112 bool r6 = (bitmap & kR6) != 0;
113 bool msa = (bitmap & kMsaBitfield) != 0;
H A Dinstruction_set_features_mips.h36 // Parse a bitmap and create an InstructionSetFeatures.
37 static MipsFeaturesUniquePtr FromBitmap(uint32_t bitmap);
109 // Bitmap positions for encoding features as a bitmap.
/art/runtime/gc/collector/
H A Dconcurrent_copying-inl.h35 mirror::Object* ref, accounting::ContinuousSpaceBitmap* bitmap) {
43 // Test the bitmap first to avoid graying an object that has already been marked through most
45 if (bitmap->Test(ref)) {
52 // GC will mark the bitmap when popping from mark stack. If only the GC is touching the bitmap
54 // For the baker case, an object is marked if either the mark bit marked or the bitmap bit is
59 success = !bitmap->AtomicTestAndSet(ref);
34 MarkUnevacFromSpaceRegion( mirror::Object* ref, accounting::ContinuousSpaceBitmap* bitmap) argument
/art/runtime/arch/arm64/
H A Dinstruction_set_features_arm64.cc78 Arm64FeaturesUniquePtr Arm64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { argument
79 bool is_a53 = (bitmap & kA53Bitfield) != 0;
H A Dinstruction_set_features_arm64.h33 // Parse a bitmap and create an InstructionSetFeatures.
34 static Arm64FeaturesUniquePtr FromBitmap(uint32_t bitmap);
86 // Bitmap positions for encoding features as a bitmap.
/art/runtime/arch/mips64/
H A Dinstruction_set_features_mips64.cc40 Mips64FeaturesUniquePtr Mips64InstructionSetFeatures::FromBitmap(uint32_t bitmap) { argument
41 bool msa = (bitmap & kMsaBitfield) != 0;
H A Dinstruction_set_features_mips64.h34 // Parse a bitmap and create an InstructionSetFeatures.
35 static Mips64FeaturesUniquePtr FromBitmap(uint32_t bitmap);
78 // Bitmap positions for encoding features as a bitmap.
/art/runtime/gc/
H A Dheap_test.cc87 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap(
88 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity));
91 bitmap->Set(fake_end_of_heap_object);
/art/runtime/arch/arm/
H A Dinstruction_set_features_arm.cc111 ArmFeaturesUniquePtr ArmInstructionSetFeatures::FromBitmap(uint32_t bitmap) { argument
112 bool has_div = (bitmap & kDivBitfield) != 0;
113 bool has_atomic_ldrd_strd = (bitmap & kAtomicLdrdStrdBitfield) != 0;
114 bool has_armv8a = (bitmap & kARMv8A) != 0;
H A Dinstruction_set_features_arm.h33 // Parse a bitmap and create an InstructionSetFeatures.
34 static ArmFeaturesUniquePtr FromBitmap(uint32_t bitmap);
96 // Bitmap positions for encoding features as a bitmap.
/art/runtime/gc/space/
H A Dzygote_space.cc115 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); local
117 bitmap->Clear(ptrs[i]);

Completed in 552 milliseconds

12