Home
last modified time | relevance | path

Searched refs:slot_set (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/heap/
Dremembered-set.h31 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()
[all …]
Dslot-set.h157 SlotSet* slot_set = reinterpret_cast<SlotSet*>( in Allocate() local
160 IsAligned(reinterpret_cast<uintptr_t>(slot_set), kSystemPointerSize)); in Allocate()
162 *slot_set->initial_buckets() = buckets; in Allocate()
165 *slot_set->bucket(i) = nullptr; in Allocate()
167 return slot_set; in Allocate()
170 static void Delete(SlotSet* slot_set, size_t buckets) { in Delete() argument
171 if (slot_set == nullptr) return; in Delete()
174 slot_set->ReleaseBucket(i); in Delete()
178 size_t initial_buckets = *slot_set->initial_buckets(); in Delete()
181 DCHECK_NULL(*slot_set->bucket(i)); in Delete()
[all …]
Dmemory-chunk.h102 return slot_set<type>() != nullptr || typed_slot_set<type>() != nullptr || in ContainsSlots()
107 SlotSet* slot_set() { in slot_set() function
130 SlotSet* AllocateSlotSet(SlotSet** slot_set);
135 void ReleaseSlotSet(SlotSet** slot_set);
Dmemory-chunk.cc247 SlotSet* MemoryChunk::AllocateSlotSet(SlotSet** slot_set) { in AllocateSlotSet() argument
250 slot_set, nullptr, new_slot_set); in AllocateSlotSet()
271 void MemoryChunk::ReleaseSlotSet(SlotSet** slot_set) { in ReleaseSlotSet() argument
272 if (*slot_set) { in ReleaseSlotSet()
273 SlotSet::Delete(*slot_set, buckets()); in ReleaseSlotSet()
274 *slot_set = nullptr; in ReleaseSlotSet()
Dspaces-inl.h77 DCHECK_NULL(slot_set<OLD_TO_OLD>()); in MarkEvacuationCandidate()
85 DCHECK_NULL(slot_set<OLD_TO_OLD>()); in ClearEvacuationCandidate()
Dspaces.cc160 DCHECK_NULL(slot_set<OLD_TO_NEW>()); in ShrinkToHighWaterMark()
161 DCHECK_NULL(slot_set<OLD_TO_OLD>()); in ShrinkToHighWaterMark()
Dmark-compact.cc710 CHECK_NULL(p->slot_set<OLD_TO_OLD>()); in CollectEvacuationCandidates()
2859 DCHECK_NULL((p->slot_set<OLD_TO_OLD, AccessMode::ATOMIC>())); in EvacuateEpilogue()
3671 if (chunk_->slot_set<OLD_TO_NEW, AccessMode::NON_ATOMIC>() != nullptr) { in UpdateUntypedPointers()
3699 (chunk_->slot_set<OLD_TO_NEW, AccessMode::NON_ATOMIC>()) == in UpdateUntypedPointers()
3728 (chunk_->slot_set<OLD_TO_OLD, AccessMode::NON_ATOMIC>() != nullptr)) { in UpdateUntypedPointers()
3822 chunk->slot_set<OLD_TO_OLD>() != nullptr || in CollectRememberedSetUpdatingItems()
3825 chunk->slot_set<OLD_TO_NEW>() != nullptr || in CollectRememberedSetUpdatingItems()
Dscavenger.cc572 if (page->slot_set<OLD_TO_NEW, AccessMode::NON_ATOMIC>() != nullptr) { in ScavengePage()
/external/v8/src/builtins/
Dbuiltins-internal-gen.cc250 TNode<IntPtrT> slot_set = LoadSlotSet(page, &slow_path); in InsertIntoRememberedSetAndGoto() local
254 TNode<IntPtrT> bucket = LoadBucket(slot_set, slot_offset, &slow_path); in InsertIntoRememberedSetAndGoto()
266 TNode<IntPtrT> slot_set = UncheckedCast<IntPtrT>( in LoadSlotSet() local
269 GotoIf(WordEqual(slot_set, IntPtrConstant(0)), slow_path); in LoadSlotSet()
271 return slot_set; in LoadSlotSet()
274 TNode<IntPtrT> LoadBucket(TNode<IntPtrT> slot_set, TNode<WordT> slot_offset, in LoadBucket() argument
279 Load(MachineType::Pointer(), slot_set, in LoadBucket()