Home
last modified time | relevance | path

Searched refs:HeapObject (Results 1 - 25 of 488) sorted by relevance

12345678910>>...20

/third_party/node/deps/v8/src/objects/
H A Dtagged-field.h17 // kFieldOffset inside some host HeapObject.
32 // True for HeapObject and MapWord fields. The latter may look like a Smi
36 std::is_base_of<HeapObject, T>::value || std::is_same<MapWord, T>::value;
38 static inline Address address(HeapObject host, int offset = 0);
40 static inline T load(HeapObject host, int offset = 0);
41 static inline T load(PtrComprCageBase cage_base, HeapObject host,
44 static inline void store(HeapObject host, T value);
45 static inline void store(HeapObject host, int offset, T value);
47 static inline T Relaxed_Load(HeapObject host, int offset = 0);
48 static inline T Relaxed_Load(PtrComprCageBase cage_base, HeapObject hos
[all...]
H A Dobjects-inl.h68 DEF_GETTER(HeapObject, IsClassBoilerplate, bool) { in DEF_GETTER()
77 return IsHeapObject() && HeapObject::cast(*this).InSharedHeap(); in InSharedHeap()
81 return IsHeapObject() && HeapObject::cast(*this).InSharedWritableHeap(); in InSharedWritableHeap()
86 return IsHeapObject() && HeapObject::cast(*this).Is##type_(); \
89 return IsHeapObject() && HeapObject::cast(*this).Is##type_(cage_base); \
108 return IsHeapObject() && HeapObject::cast(*this).Is##Type(); \
110 bool HeapObject::Is##Type(Isolate* isolate) const { \
113 bool HeapObject::Is##Type(LocalIsolate* isolate) const { \
116 bool HeapObject::Is##Type(ReadOnlyRoots roots) const { \
119 bool HeapObject
[all...]
H A Dobjects-body-descriptors.h22 // static bool IsValidSlot(Map map, HeapObject obj, int offset);
28 // static inline void IterateBody(Map map, HeapObject obj, int object_size,
33 static inline void IteratePointers(HeapObject obj, int start_offset,
37 static inline void IteratePointer(HeapObject obj, int offset,
41 static inline void IterateCustomWeakPointers(HeapObject obj, int start_offset,
46 static inline void IterateCustomWeakPointer(HeapObject obj, int offset,
50 static inline void IterateEphemeron(HeapObject obj, int index, int key_offset,
54 static inline void IterateMaybeWeakPointers(HeapObject obj, int start_offset,
58 static inline void IterateMaybeWeakPointer(HeapObject obj, int offset,
63 static inline bool IsValidJSObjectSlotImpl(Map map, HeapObject ob
[all...]
H A Dobjects-body-descriptors-inl.h46 int FlexibleBodyDescriptor<start_offset>::SizeOf(Map map, HeapObject object) { in SizeOf()
52 HeapObject object) { in SizeOf()
56 bool BodyDescriptorBase::IsValidJSObjectSlotImpl(Map map, HeapObject obj, in IsValidJSObjectSlotImpl()
81 void BodyDescriptorBase::IterateJSObjectBodyImpl(Map map, HeapObject obj, in IterateJSObjectBodyImpl()
115 DISABLE_CFI_PERF void BodyDescriptorBase::IteratePointers(HeapObject obj, in IteratePointers()
119 if (start_offset == HeapObject::kMapOffset) { in IteratePointers()
127 void BodyDescriptorBase::IteratePointer(HeapObject obj, int offset, in IteratePointer()
129 DCHECK_NE(offset, HeapObject::kMapOffset); in IteratePointer()
135 HeapObject obj, int start_offset, int end_offset, ObjectVisitor* v) { in IterateMaybeWeakPointers()
141 void BodyDescriptorBase::IterateMaybeWeakPointer(HeapObject ob
[all...]
H A Dtagged-field-inl.h17 Address TaggedField<T, kFieldOffset>::address(HeapObject host, int offset) { in address()
23 Tagged_t* TaggedField<T, kFieldOffset>::location(HeapObject host, int offset) { in location()
57 T TaggedField<T, kFieldOffset>::load(HeapObject host, int offset) { in load()
59 DCHECK_NE(kFieldOffset + offset, HeapObject::kMapOffset); in load()
66 HeapObject host, int offset) { in load()
68 DCHECK_NE(kFieldOffset + offset, HeapObject::kMapOffset); in load()
74 void TaggedField<T, kFieldOffset>::store(HeapObject host, T value) { in store()
79 DCHECK_NE(kFieldOffset, HeapObject::kMapOffset); in store()
86 void TaggedField<T, kFieldOffset>::store(HeapObject host, int offset, T value) { in store()
91 DCHECK_NE(kFieldOffset + offset, HeapObject in store()
[all...]
H A Dtagged-impl-inl.h41 // TaggedImpl::GetHeapObject(HeapObject* result) implementation.
46 HeapObject* result) const { in GetHeapObject()
55 Isolate* isolate, HeapObject* result) const { in GetHeapObject()
64 // TaggedImpl::GetHeapObject(HeapObject* result,
71 HeapObject* result, HeapObjectReferenceType* reference_type) const { in GetHeapObject()
82 Isolate* isolate, HeapObject* result, in GetHeapObject()
94 // TaggedImpl::GetHeapObjectIfStrong(HeapObject* result) implementation.
99 HeapObject* result) const { in GetHeapObjectIfStrong()
102 *result = HeapObject::cast(Object(ptr_)); in GetHeapObjectIfStrong()
110 Isolate* isolate, HeapObject* resul in GetHeapObjectIfStrong()
[all...]
H A Dtagged-impl.h15 // reference to a HeapObject) and MaybeObject (which is either a Smi, a strong
16 // reference to a HeapObject, a weak reference to a HeapObject, or a cleared
21 // HeapObject or cleared weak reference.
64 // Returns true if this tagged value is a strong pointer to a HeapObject or
73 // Returns true if this tagged value is a strong pointer to a HeapObject.
83 // HeapObject.
88 // Returns true if this tagged value is a strong pointer to a HeapObject.
94 // Returns true if this tagged value is a weak pointer to a HeapObject.
99 // Returns true if this tagged value is a weak pointer to a HeapObject o
[all...]
H A Dordered-hash-table.h298 static HeapObject GetEmpty(ReadOnlyRoots ro_roots);
300 static inline bool Is(Handle<HeapObject> table);
343 static HeapObject GetEmpty(ReadOnlyRoots ro_roots);
345 static inline bool Is(Handle<HeapObject> table);
401 class SmallOrderedHashTable : public HeapObject {
645 OBJECT_CONSTRUCTORS(SmallOrderedHashTable, HeapObject);
668 static inline bool Is(Handle<HeapObject> table);
701 static inline bool Is(Handle<HeapObject> table);
718 // that instead of a HeapObject here.
724 static MaybeHandle<HeapObject> Allocat
[all...]
/third_party/node/deps/v8/src/heap/
H A Dmarking-visitor.h20 std::vector<HeapObject> newly_discovered;
50 V8_INLINE MarkBit MarkBitFrom(HeapObject obj) { in MarkBitFrom()
60 Marking::ObjectColor Color(HeapObject obj) { in Color()
64 V8_INLINE bool IsImpossible(HeapObject obj) { in IsImpossible()
68 V8_INLINE bool IsBlack(HeapObject obj) { in IsBlack()
72 V8_INLINE bool IsWhite(HeapObject obj) { in IsWhite()
76 V8_INLINE bool IsGrey(HeapObject obj) { in IsGrey()
80 V8_INLINE bool IsBlackOrGrey(HeapObject obj) { in IsBlackOrGrey()
84 V8_INLINE bool WhiteToGrey(HeapObject obj) { in WhiteToGrey()
88 V8_INLINE bool WhiteToBlack(HeapObject ob
[all...]
H A Dheap-write-barrier-inl.h25 V8_EXPORT_PRIVATE bool Heap_PageFlagsAreConsistent(HeapObject object);
27 HeapObject value);
28 V8_EXPORT_PRIVATE void Heap_GenerationalBarrierSlow(HeapObject object,
30 HeapObject value);
35 HeapObject object);
54 HeapObject object) { in FromHeapObject()
86 inline void GenerationalBarrierInternal(HeapObject object, Address slot, in GenerationalBarrierInternal()
87 HeapObject value) { in GenerationalBarrierInternal()
103 HeapObject value) { in GenerationalEphemeronKeyBarrierInternal()
122 WriteBarrierForCode(host, rinfo, HeapObject in WriteBarrierForCode()
[all...]
H A Dheap-write-barrier.h33 void WriteBarrierForCode(Code host, RelocInfo* rinfo, HeapObject value);
37 void GenerationalBarrier(HeapObject object, ObjectSlot slot, Object value);
38 void GenerationalBarrier(HeapObject object, ObjectSlot slot, Code value);
39 void GenerationalBarrier(HeapObject object, ObjectSlot slot, HeapObject value);
40 void GenerationalBarrier(HeapObject object, MaybeObjectSlot slot,
44 void GenerationalBarrierForCode(Code host, RelocInfo* rinfo, HeapObject object);
46 inline bool IsReadOnlyHeapObject(HeapObject object);
50 static inline void Marking(HeapObject host, ObjectSlot, Object value);
51 static inline void Marking(HeapObject hos
[all...]
H A Dreference-summarizer.cc27 explicit ReferenceSummarizerMarkingState(HeapObject object) in ReferenceSummarizerMarkingState()
51 bool IsWhite(HeapObject obj) const { return true; } in IsWhite()
53 bool IsBlackOrGrey(HeapObject obj) const { return false; } in IsBlackOrGrey()
55 bool WhiteToGrey(HeapObject obj) { return true; } in WhiteToGrey()
57 bool GreyToBlack(HeapObject obj) { return true; } in GreyToBlack()
60 void AddStrongReferenceForReferenceSummarizer(HeapObject host, in AddStrongReferenceForReferenceSummarizer()
61 HeapObject obj) { in AddStrongReferenceForReferenceSummarizer()
68 void AddWeakReferenceForReferenceSummarizer(HeapObject host, HeapObject obj) { in AddWeakReferenceForReferenceSummarizer()
81 HeapObject hos in AddReference()
[all...]
H A Dmark-compact-inl.h25 void MarkCompactCollector::MarkObject(HeapObject host, HeapObject obj) { in MarkObject()
34 void MarkCompactCollector::MarkRootObject(Root root, HeapObject obj) { in MarkRootObject()
43 void MinorMarkCompactCollector::MarkRootObject(HeapObject obj) { in MarkRootObject()
50 void MarkCompactCollector::MarkExternallyReferencedObject(HeapObject obj) { in MarkExternallyReferencedObject()
59 void MarkCompactCollector::RecordSlot(HeapObject object, ObjectSlot slot, in RecordSlot()
60 HeapObject target) { in RecordSlot()
64 void MarkCompactCollector::RecordSlot(HeapObject object, HeapObjectSlot slot, in RecordSlot()
65 HeapObject target) { in RecordSlot()
73 HeapObjectSlot slot, HeapObject targe in RecordSlot()
[all...]
H A Dscavenger.h28 using ObjectAndSize = std::pair<HeapObject, int>;
30 std::unordered_map<HeapObject, Map, Object::Hasher>;
31 using SurvivingNewLargeObjectMapEntry = std::pair<HeapObject, Map>;
42 HeapObject heap_object;
63 inline void PushRegularObject(HeapObject object, int size);
64 inline void PushLargeObject(HeapObject object, Map map, int size);
127 // indeed a HeapObject and resides in from space.
135 HeapObject object);
138 V8_INLINE bool MigrateObject(Map map, HeapObject source, HeapObject targe
[all...]
H A Dallocation-result.h31 static AllocationResult FromObject(HeapObject heap_object) { in FromObject()
48 HeapObject ToObjectChecked() const { in ToObjectChecked()
50 return HeapObject::cast(object_); in ToObjectChecked()
53 HeapObject ToObject() const { in ToObject()
55 return HeapObject::cast(object_); in ToObject()
60 return HeapObject::cast(object_).address(); in ToAddress()
64 explicit AllocationResult(HeapObject heap_object) : object_(heap_object) {} in AllocationResult()
66 HeapObject object_;
H A Dnew-spaces-inl.h22 bool SemiSpace::Contains(HeapObject o) const { in Contains()
30 return o.IsHeapObject() && Contains(HeapObject::cast(o)); in Contains()
44 return o.IsHeapObject() && Contains(HeapObject::cast(o)); in Contains()
47 bool NewSpace::Contains(HeapObject o) const { in Contains()
67 HeapObject SemiSpaceObjectIterator::Next() { in Next()
74 if (current_ == limit_) return HeapObject(); in Next()
76 HeapObject object = HeapObject::FromAddress(current_); in Next()
82 return HeapObject(); in Next()
H A Dmarking-barrier.h35 void Write(HeapObject host, HeapObjectSlot, HeapObject value);
36 void Write(Code host, RelocInfo*, HeapObject value);
41 void WriteWithoutHost(HeapObject value);
44 inline bool MarkValue(HeapObject host, HeapObject value);
49 inline bool WhiteToGreyAndPush(HeapObject value);
51 void RecordRelocSlot(Code host, RelocInfo* rinfo, HeapObject target);
62 inline void MarkRange(HeapObject value, TSlot start, TSlot end);
H A Dobject-stats.cc50 void RecordStats(HeapObject host) { in RecordStats()
89 void VisitPointers(HeapObject host, ObjectSlot start,
93 void VisitPointers(HeapObject host, MaybeObjectSlot start,
98 V8_INLINE void VisitCodePointer(HeapObject host,
113 void VisitMapPointer(HeapObject host) override {
383 void CollectStatistics(HeapObject obj, Phase phase,
394 bool RecordVirtualObjectStats(HeapObject parent, HeapObject obj,
402 bool RecordSimpleVirtualObjectStats(HeapObject parent, HeapObject ob
[all...]
H A Dscavenger-inl.h19 void Scavenger::PromotionList::Local::PushRegularObject(HeapObject object, in PushRegularObject()
24 void Scavenger::PromotionList::Local::PushLargeObject(HeapObject object, in PushLargeObject()
78 HeapObject heap_object; in PageMemoryFence()
85 bool Scavenger::MigrateObject(Map map, HeapObject source, HeapObject target, in MigrateObject()
114 Map map, THeapObjectSlot slot, HeapObject object, int object_size, in SemiSpaceCopyObject()
120 AllocationAlignment alignment = HeapObject::RequiredAlignment(map); in SemiSpaceCopyObject()
124 HeapObject target; in SemiSpaceCopyObject()
152 HeapObject object, in PromoteObject()
159 AllocationAlignment alignment = HeapObject in PromoteObject()
[all...]
H A Dmarking-worklist.h27 using MarkingWorklist = ::heap::base::Worklist<HeapObject, 64>;
28 using WrapperTracingWorklist = ::heap::base::Worklist<HeapObject, 16>;
85 // The callback must accept HeapObject and return HeapObject.
155 inline void Push(HeapObject object);
156 inline bool Pop(HeapObject* object);
158 inline void PushOnHold(HeapObject object);
159 inline bool PopOnHold(HeapObject* object);
166 inline void PushWrapper(HeapObject object);
167 inline bool PopWrapper(HeapObject* objec
[all...]
/third_party/node/deps/v8/src/snapshot/
H A Ddeserializer.cc49 // A SlotAccessor for a slot in a HeapObject, which abstracts the slot
52 // HeapObject, which is updated if the HeapObject moves.
55 static SlotAccessorForHeapObject ForSlotIndex(Handle<HeapObject> object, in ForSlotIndex()
59 static SlotAccessorForHeapObject ForSlotOffset(Handle<HeapObject> object, in ForSlotOffset()
65 Handle<HeapObject> object() const { return object_; } in object()
78 int Write(HeapObject value, HeapObjectReferenceType ref_type, in Write()
82 int Write(Handle<HeapObject> value, HeapObjectReferenceType ref_type, in Write()
97 int WriteWithGenerationalBarrier(HeapObject value, in WriteWithGenerationalBarrier()
102 int WriteWithGenerationalBarrier(Handle<HeapObject> valu in WriteWithGenerationalBarrier()
[all...]
H A Dserializer.h144 bool LookupOrInsert(HeapObject obj, int* index_out) { in LookupOrInsert()
152 bool LookupOrInsert(Handle<HeapObject> obj, int* index_out) { in LookupOrInsert()
156 bool Lookup(HeapObject obj, int* index_out) const { in Lookup()
183 bool ReferenceMapContains(Handle<HeapObject> o) { in ReferenceMapContains()
222 V8_INLINE bool IsNotMappedSymbol(HeapObject obj) const;
225 void SerializeObject(Handle<HeapObject> o);
226 virtual void SerializeObjectImpl(Handle<HeapObject> o) = 0;
228 virtual bool MustBeDeferred(HeapObject object);
236 void PutBackReference(HeapObject object, SerializerReference reference);
249 bool SerializeRoot(HeapObject ob
[all...]
H A Ddeserializer.h30 class HeapObject;
72 Handle<HeapObject> GetBackReferencedObject();
76 void AddAttachedObject(Handle<HeapObject> attached_object) { in AddAttachedObject()
124 Handle<HeapObject> ReadObject();
139 void Add(Handle<HeapObject> object) { in Add()
144 Handle<HeapObject> Get(int index) { in Get()
153 Handle<HeapObject> circular_queue_[kSize];
171 void ReadData(Handle<HeapObject> object, int start_slot_index,
190 Handle<HeapObject> ReadObject(SnapshotSpace space_number);
191 Handle<HeapObject> ReadMetaMa
[all...]
/third_party/node/deps/v8/src/ic/
H A Dbinary-op-assembler.h26 TNode<UintPtrT> slot, const LazyNode<HeapObject>& maybe_feedback_vector,
31 TNode<UintPtrT> slot, const LazyNode<HeapObject>& maybe_feedback_vector,
36 TNode<UintPtrT> slot, const LazyNode<HeapObject>& maybe_feedback_vector,
42 const LazyNode<HeapObject>& maybe_feedback_vector,
48 const LazyNode<HeapObject>& maybe_feedback_vector,
54 const LazyNode<HeapObject>& maybe_feedback_vector,
59 TNode<UintPtrT> slot, const LazyNode<HeapObject>& maybe_feedback_vector, in Generate_BitwiseOrWithFeedback()
69 TNode<UintPtrT> slot, const LazyNode<HeapObject>& maybe_feedback_vector, in Generate_BitwiseXorWithFeedback()
80 TNode<UintPtrT> slot, const LazyNode<HeapObject>& maybe_feedback_vector, in Generate_BitwiseAndWithFeedback()
91 TNode<UintPtrT> slot, const LazyNode<HeapObject> in Generate_ShiftLeftWithFeedback()
[all...]
/third_party/node/deps/v8/src/heap/third-party/
H A Dheap-api-stub.cc12 Isolate* Heap::GetIsolateFromWritableObject(HeapObject object) { in GetIsolateFromWritableObject()
42 bool Heap::IsPendingAllocation(HeapObject) { return false; } in IsPendingAllocation()
57 bool Heap::IsValidHeapObject(HeapObject) { return false; } in IsValidHeapObject()
60 bool Heap::IsImmovable(HeapObject) { return false; } in IsImmovable()
63 bool Heap::IsValidCodeObject(HeapObject) { return false; } in IsValidCodeObject()
67 HeapObject Heap::NextObject() { return HeapObject(); } in NextObject()

Completed in 16 milliseconds

12345678910>>...20