Searched defs:bitmap (Results 1 - 9 of 9) sorted by relevance

/art/runtime/gc/accounting/
H A Dheap_bitmap.cc26 for (auto& bitmap : continuous_space_bitmaps_) {
27 if (bitmap == old_bitmap) {
28 bitmap = new_bitmap;
32 LOG(FATAL) << "bitmap " << static_cast<const void*>(old_bitmap) << " not found";
45 void HeapBitmap::AddContinuousSpaceBitmap(accounting::SpaceBitmap* bitmap) { argument
46 DCHECK(bitmap != NULL);
51 bitmap->HeapBegin() < cur_bitmap->HeapLimit() &&
52 bitmap->HeapLimit() > cur_bitmap->HeapBegin()))
53 << "Bitmap " << bitmap->Dump() << " overlaps with existing bitmap " << cur_bitma
[all...]
H A Dheap_bitmap.h38 SpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
39 if (LIKELY(bitmap != NULL)) {
40 return bitmap->Test(obj);
47 SpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
48 if (LIKELY(bitmap != NULL)) {
49 bitmap->Clear(obj);
58 SpaceBitmap* bitmap = GetContinuousSpaceBitmap(obj); local
59 if (LIKELY(bitmap != NULL)) {
60 bitmap->Set(obj);
69 for (const auto& bitmap
[all...]
H A Dspace_bitmap_test.cc37 UniquePtr<SpaceBitmap> space_bitmap(SpaceBitmap::Create("test bitmap",
44 BitmapVerify(SpaceBitmap* bitmap, const mirror::Object* begin, const mirror::Object* end) argument
45 : bitmap_(bitmap),
64 UniquePtr<SpaceBitmap> space_bitmap(SpaceBitmap::Create("test bitmap",
H A Dcard_table-inl.h45 inline size_t CardTable::Scan(SpaceBitmap* bitmap, byte* scan_begin, byte* scan_end, argument
47 DCHECK(bitmap->HasAddress(scan_begin));
48 DCHECK(bitmap->HasAddress(scan_end - 1)); // scan_end is the byte after the last byte we scan.
59 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
81 // TODO: Investigate if processing continuous runs of dirty cards with a single bitmap visit is
88 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
102 bitmap->VisitMarkedRange(start, start + kCardSize, visitor);
H A Dmod_union_table.cc294 SpaceBitmap* bitmap = nullptr; local
302 bitmap = space->GetLiveBitmap();
303 DCHECK(bitmap != nullptr);
305 bitmap->VisitMarkedRange(start, end, visitor);
H A Dspace_bitmap.cc67 LOG(ERROR) << "Failed to allocate bitmap " << name;
73 // Clean up any resources associated with the bitmap.
102 // change the bitmap bits or max during the traversal.
127 // The callback is not permitted to increase the max of either bitmap.
245 // Visits set bits with an in order traversal. The callback is not permitted to change the bitmap
248 UniquePtr<SpaceBitmap> visited(Create("bitmap for in-order walk",
280 std::ostream& operator << (std::ostream& stream, const SpaceBitmap& bitmap) { argument
282 << bitmap.GetName() << "["
283 << "begin=" << reinterpret_cast<const void*>(bitmap.HeapBegin())
284 << ",end=" << reinterpret_cast<const void*>(bitmap
[all...]
H A Dspace_bitmap.h51 // Initialize a space bitmap so that it points to a bitmap large enough to cover a heap at
55 // Initialize a space bitmap using the provided mem_map as the live bits. Takes ownership of the
90 // Fill the bitmap with zeroes. Returns the bitmap's memory to the system as a side-effect.
95 // Return true iff <obj> is within the range of pointers that this bitmap could potentially cover,
99 // bitmap.
109 explicit ClearVisitor(SpaceBitmap* const bitmap) argument
110 : bitmap_(bitmap) {
162 // The maximum address which the bitmap ca
[all...]
/art/runtime/gc/collector/
H A Dmark_sweep.cc89 // Bind live to mark bitmap if necessary.
284 // Recursively mark all the non-image bits set in the mark bitmap.
364 LOG(FATAL) << "Could not find a default mark bitmap";
508 // the finger won't be visited by the bitmap scan, so those objects
548 // See if the root is on any space bitmap.
744 CardScanTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, accounting::SpaceBitmap* bitmap,
748 bitmap_(bitmap),
904 accounting::SpaceBitmap* bitmap, uintptr_t begin, uintptr_t end)
906 bitmap_(bitmap),
955 LOG(FATAL) << "invalid bitmap";
903 RecursiveMarkTask(ThreadPool* thread_pool, MarkSweep* mark_sweep, accounting::SpaceBitmap* bitmap, uintptr_t begin, uintptr_t end) argument
[all...]
/art/runtime/gc/
H A Dheap.cc752 // TODO: the bitmap tests below are racy if VerifyObjectBody is called without the
791 // stack or the live bitmap.
1027 // is empty, so the live bitmap is the only place we need to look.
1065 // is empty, so the live bitmap is the only place we need to look.
1084 // For bitmap Visit.
1110 // is empty, so the live bitmap is the only place we need to look.
1172 void Heap::MarkAllocStack(accounting::SpaceBitmap* bitmap, accounting::SpaceSetMap* large_objects, argument
1178 if (LIKELY(bitmap->HasAddress(obj))) {
1179 bitmap->Set(obj);
1421 accounting::SpaceBitmap* bitmap variable
[all...]

Completed in 122 milliseconds