Lines Matching full:bitmap
30 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) {
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 void HeapBitmap::RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) {
56 DCHECK(bitmap != nullptr);
57 auto it = std::find(continuous_space_bitmaps_.begin(), continuous_space_bitmaps_.end(), bitmap);
62 void HeapBitmap::AddLargeObjectBitmap(LargeObjectBitmap* bitmap) {
63 DCHECK(bitmap != nullptr);
64 large_object_bitmaps_.push_back(bitmap);
67 void HeapBitmap::RemoveLargeObjectBitmap(LargeObjectBitmap* bitmap) {
68 DCHECK(bitmap != nullptr);
69 auto it = std::find(large_object_bitmaps_.begin(), large_object_bitmaps_.end(), bitmap);
75 for (const auto& bitmap : continuous_space_bitmaps_) {
76 bitmap->Walk(callback, arg);
78 for (const auto& bitmap : large_object_bitmaps_) {
79 bitmap->Walk(callback, arg);