• Home
  • Raw
  • Download

Lines Matching refs:slot_set

31   static void Insert(SlotSet* slot_set, MemoryChunk* chunk, Address slot_addr) {  in Insert()  argument
34 slot_set->Insert<access_mode>(offset); in Insert()
38 static int Iterate(SlotSet* slot_set, MemoryChunk* chunk, Callback callback, in Iterate() argument
41 if (slot_set != nullptr) { in Iterate()
42 slots += slot_set->Iterate(chunk->address(), 0, chunk->buckets(), in Iterate()
48 static void Remove(SlotSet* slot_set, MemoryChunk* chunk, Address slot_addr) { in Remove() argument
49 if (slot_set != nullptr) { in Remove()
51 slot_set->Remove(offset); in Remove()
55 static void RemoveRange(SlotSet* slot_set, MemoryChunk* chunk, Address start, in RemoveRange() argument
57 if (slot_set != nullptr) { in RemoveRange()
61 slot_set->RemoveRange(static_cast<int>(start_offset), in RemoveRange()
67 static void CheckNoneInRange(SlotSet* slot_set, MemoryChunk* chunk, in CheckNoneInRange() argument
69 if (slot_set != nullptr) { in CheckNoneInRange()
76 slot_set->Iterate( in CheckNoneInRange()
96 SlotSet* slot_set = chunk->slot_set<type, access_mode>(); in Insert() local
97 if (slot_set == nullptr) { in Insert()
98 slot_set = chunk->AllocateSlotSet<type>(); in Insert()
100 RememberedSetOperations::Insert<access_mode>(slot_set, chunk, slot_addr); in Insert()
107 SlotSet* slot_set = chunk->slot_set<type>(); in Contains() local
108 if (slot_set == nullptr) { in Contains()
112 return slot_set->Contains(offset); in Contains()
116 SlotSet* slot_set = chunk->slot_set<type>(); in CheckNoneInRange() local
117 RememberedSetOperations::CheckNoneInRange(slot_set, chunk, start, end); in CheckNoneInRange()
125 SlotSet* slot_set = chunk->slot_set<type>(); in Remove() local
126 RememberedSetOperations::Remove(slot_set, chunk, slot_addr); in Remove()
133 SlotSet* slot_set = chunk->slot_set<type>(); in RemoveRange() local
134 RememberedSetOperations::RemoveRange(slot_set, chunk, start, end, mode); in RemoveRange()
156 SlotSet* slot_set = chunk->slot_set<type>(); in IterateMemoryChunks() local
160 if (slot_set != nullptr || sweeping_slot_set != nullptr || in IterateMemoryChunks()
177 SlotSet* slot_set = chunk->slot_set<type>(); in Iterate() local
178 return RememberedSetOperations::Iterate(slot_set, chunk, callback, mode); in Iterate()
185 SlotSet* slot_set = chunk->slot_set<type>(); in IterateAndTrackEmptyBuckets() local
187 if (slot_set != nullptr) { in IterateAndTrackEmptyBuckets()
190 slots += slot_set->IterateAndTrackEmptyBuckets(chunk->address(), 0, in IterateAndTrackEmptyBuckets()
200 SlotSet* slot_set = chunk->slot_set<type>(); in FreeEmptyBuckets() local
201 if (slot_set != nullptr && slot_set->FreeEmptyBuckets(chunk->buckets())) { in FreeEmptyBuckets()
208 SlotSet* slot_set = chunk->slot_set<type, AccessMode::NON_ATOMIC>(); in CheckPossiblyEmptyBuckets() local
209 if (slot_set != nullptr && in CheckPossiblyEmptyBuckets()
210 slot_set->CheckPossiblyEmptyBuckets(chunk->buckets(), in CheckPossiblyEmptyBuckets()
223 TypedSlotSet* slot_set = memory_chunk->typed_slot_set<type>(); in InsertTyped() local
224 if (slot_set == nullptr) { in InsertTyped()
225 slot_set = memory_chunk->AllocateTypedSlotSet<type>(); in InsertTyped()
227 slot_set->Insert(slot_type, offset); in InsertTyped()
231 TypedSlotSet* slot_set = page->typed_slot_set<type>(); in MergeTyped() local
232 if (slot_set == nullptr) { in MergeTyped()
233 slot_set = page->AllocateTypedSlotSet<type>(); in MergeTyped()
235 slot_set->Merge(other.get()); in MergeTyped()
241 TypedSlotSet* slot_set = page->typed_slot_set<type>(); in RemoveRangeTyped() local
242 if (slot_set != nullptr) { in RemoveRangeTyped()
243 slot_set->Iterate( in RemoveRangeTyped()
270 TypedSlotSet* slot_set = chunk->typed_slot_set<type>(); in IterateTyped() local
271 if (slot_set != nullptr) { in IterateTyped()
273 slot_set->Iterate(callback, TypedSlotSet::KEEP_EMPTY_CHUNKS); in IterateTyped()
357 SlotSet* slot_set = chunk->sweeping_slot_set<access_mode>(); in Insert() local
358 if (slot_set == nullptr) { in Insert()
359 slot_set = chunk->AllocateSweepingSlotSet(); in Insert()
361 RememberedSetOperations::Insert<access_mode>(slot_set, chunk, slot_addr); in Insert()
366 SlotSet* slot_set = chunk->sweeping_slot_set<AccessMode::ATOMIC>(); in Remove() local
367 RememberedSetOperations::Remove(slot_set, chunk, slot_addr); in Remove()
374 SlotSet* slot_set = chunk->sweeping_slot_set(); in RemoveRange() local
375 RememberedSetOperations::RemoveRange(slot_set, chunk, start, end, mode); in RemoveRange()
387 SlotSet* slot_set = chunk->sweeping_slot_set(); in Iterate() local
388 return RememberedSetOperations::Iterate(slot_set, chunk, callback, mode); in Iterate()