/external/v8/tools/clang/blink_gc_plugin/tests/ |
D | trace_collections.h | 12 class HeapObject : public GarbageCollected<HeapObject> { 16 HeapVector<Member<HeapObject> > m_heapVector; 17 Vector<Member<HeapObject>, 0, HeapAllocator> m_wtfVector; 19 HeapDeque<Member<HeapObject> > m_heapDeque; 20 Deque<Member<HeapObject>, 0, HeapAllocator> m_wtfDeque; 22 HeapHashSet<Member<HeapObject> > m_heapSet; 23 HashSet<Member<HeapObject>, void, HeapAllocator> m_wtfSet; 25 HeapListHashSet<Member<HeapObject> > m_heapListSet; 26 ListHashSet<Member<HeapObject>, void, HeapAllocator> m_wtfListSet; 28 HeapLinkedHashSet<Member<HeapObject> > m_heapLinkedSet; [all …]
|
D | persistent_field_in_gc_managed_class.txt | 2 ./persistent_field_in_gc_managed_class.h:20:1: warning: [blink-gc] Class 'HeapObject' contains GC r… 3 class HeapObject : public GarbageCollected<HeapObject> { 5 …_class.h:24:5: note: [blink-gc] Field 'm_part' with embedded GC root in 'HeapObject' declared here: 9 Persistent<HeapObject> m_obj; 11 ./persistent_field_in_gc_managed_class.h:20:1: warning: [blink-gc] Class 'HeapObject' contains GC r… 12 class HeapObject : public GarbageCollected<HeapObject> { 14 …class.h:25:5: note: [blink-gc] Field 'm_parts' with embedded GC root in 'HeapObject' declared here: 18 Persistent<HeapObject> m_obj; 20 ./persistent_field_in_gc_managed_class.h:20:1: warning: [blink-gc] Class 'HeapObject' contains GC r… 21 class HeapObject : public GarbageCollected<HeapObject> { [all …]
|
D | trace_collections.txt | 2 ./trace_collections.h:12:1: warning: [blink-gc] Class 'HeapObject' requires finalization. 3 class HeapObject : public GarbageCollected<HeapObject> { 6 Vector<Member<HeapObject>, 0, HeapAllocator> m_wtfVector; 9 Deque<Member<HeapObject>, 0, HeapAllocator> m_wtfDeque; 11 trace_collections.cpp:9:1: warning: [blink-gc] Class 'HeapObject' has untraced fields that require … 12 void HeapObject::Trace(Visitor* visitor) 15 HeapVector<Member<HeapObject> > m_heapVector; 18 Vector<Member<HeapObject>, 0, HeapAllocator> m_wtfVector; 21 HeapDeque<Member<HeapObject> > m_heapDeque; 24 Deque<Member<HeapObject>, 0, HeapAllocator> m_wtfDeque; [all …]
|
D | fields_illegal_tracing.h | 29 class HeapObject; variable 37 RefPtr<HeapObject> m_obj2; 38 bar::unique_ptr<HeapObject> m_obj3; 39 std::unique_ptr<HeapObject> m_obj4; 41 HeapVector<Member<HeapObject>>::iterator m_iterator2; 45 class HeapObject : public GarbageCollectedFinalized<HeapObject> { 50 RefPtr<HeapObject> m_obj2; 51 bar::unique_ptr<HeapObject> m_obj3; 52 std::unique_ptr<HeapObject> m_obj4; 53 HeapHashMap<int, Member<HeapObject>>::reverse_iterator m_iterator3; [all …]
|
D | fields_illegal_tracing.txt | 6 RefPtr<HeapObject> m_obj2; 9 std::unique_ptr<HeapObject> m_obj4; 12 HeapVector<Member<HeapObject>>::iterator m_iterator2; 17 ./fields_illegal_tracing.h:45:1: warning: [blink-gc] Class 'HeapObject' contains invalid fields. 18 class HeapObject : public GarbageCollectedFinalized<HeapObject> { 21 RefPtr<HeapObject> m_obj2; 24 std::unique_ptr<HeapObject> m_obj4; 27 HeapHashMap<int, Member<HeapObject>>::reverse_iterator m_iterator3; 30 HeapDeque<Member<HeapObject>>::const_reverse_iterator m_iterator4; 33 HeapLinkedHashSet<Member<HeapObject>>::const_iterator m_iterator6; [all …]
|
D | destructor_access_finalized_field.h | 17 class HeapObject; variable 24 HeapObject* obj() { return m_obj; } in obj() 27 Member<HeapObject> m_obj; 30 class HeapObject : public GarbageCollectedFinalized<HeapObject> { 32 ~HeapObject(); 35 void bar(HeapObject*) { } in bar() argument 38 Member<HeapObject> m_obj; 39 Vector<Member<HeapObject> > m_objs;
|
D | member_in_offheap_class.h | 12 class HeapObject : public GarbageCollected<HeapObject> { }; 18 Member<HeapObject> m_obj; // Must not contain Member. 19 WeakMember<HeapObject> m_weak; // Must not contain WeakMember. 20 Persistent<HeapVector<Member<HeapObject> > > m_objs; // OK 26 Member<HeapObject> m_obj; // OK 36 Member<HeapObject> m_obj; // OK 44 Member<HeapObject> m_obj; // OK
|
D | weak_fields_require_tracing.h | 12 class HeapObject : public GarbageCollected<HeapObject> { 17 Member<HeapObject> m_obj1; 18 WeakMember<HeapObject> m_obj2; 19 WeakMember<HeapObject> m_obj3; 20 HeapHashSet<WeakMember<HeapObject> > m_set1; 21 HeapHashSet<WeakMember<HeapObject> > m_set2;
|
D | stack_allocated.h | 12 class HeapObject; variable 17 Member<HeapObject> m_obj; // Needs tracing. 27 Member<HeapObject> m_obj; // Does not need tracing. 30 class HeapObject : public GarbageCollected<HeapObject> { 38 class DerivedHeapObject : public HeapObject, public StackObject { 42 class DerivedHeapObject2 : public HeapObject {
|
D | fields_require_tracing.h | 12 class HeapObject; variable 29 Member<HeapObject> m_obj1; 30 Member<HeapObject> m_obj2; 31 Member<HeapObject> m_obj3; 36 class HeapObject : public GarbageCollected<HeapObject> { 41 Member<HeapObject> m_obj;
|
D | trace_templated_super.h | 12 class HeapObject; variable 26 Member<HeapObject> m_obj; 27 WeakMember<HeapObject> m_weak; 35 Member<HeapObject> m_obj; 38 class HeapObject : public Sub<HeapObject> { 42 Member<HeapObject> m_obj;
|
D | stack_allocated.txt | 6 Member<HeapObject> m_obj; // Needs tracing. 11 ./stack_allocated.h:30:1: warning: [blink-gc] Class 'HeapObject' contains invalid fields. 12 class HeapObject : public GarbageCollected<HeapObject> { 17 …g: [blink-gc] Stack-allocated class 'DerivedHeapObject' derives class 'HeapObject' which is garbag… 18 class DerivedHeapObject : public HeapObject, public StackObject { 20 …: [blink-gc] Stack-allocated class 'DerivedHeapObject2' derives class 'HeapObject' which is garbag… 21 class DerivedHeapObject2 : public HeapObject { 33 HeapObject* m_obj;
|
/external/v8/src/ |
D | objects-body-descriptors-inl.h | 20 int FlexibleBodyDescriptor<start_offset>::SizeOf(Map* map, HeapObject* object) { in SizeOf() 24 bool BodyDescriptorBase::IsValidSlotImpl(Map* map, HeapObject* obj, in IsValidSlotImpl() 39 void BodyDescriptorBase::IterateBodyImpl(Map* map, HeapObject* obj, in IterateBodyImpl() 62 DISABLE_CFI_PERF void BodyDescriptorBase::IteratePointers(HeapObject* obj, in IteratePointers() 66 v->VisitPointers(obj, HeapObject::RawField(obj, start_offset), in IteratePointers() 67 HeapObject::RawField(obj, end_offset)); in IteratePointers() 71 void BodyDescriptorBase::IteratePointer(HeapObject* obj, int offset, in IteratePointer() 73 v->VisitPointer(obj, HeapObject::RawField(obj, offset)); in IteratePointer() 78 HeapObject* obj, int start_offset, int end_offset, ObjectVisitor* v) { in IterateMaybeWeakPointers() 79 v->VisitPointers(obj, HeapObject::RawMaybeWeakField(obj, start_offset), in IterateMaybeWeakPointers() [all …]
|
D | objects-body-descriptors.h | 32 static inline void IteratePointers(HeapObject* obj, int start_offset, 36 static inline void IteratePointer(HeapObject* obj, int offset, 40 static inline void IterateMaybeWeakPointers(HeapObject* obj, int start_offset, 44 static inline void IterateMaybeWeakPointer(HeapObject* obj, int offset, 49 static inline bool IsValidSlotImpl(Map* map, HeapObject* obj, int offset); 53 static inline void IterateBodyImpl(Map* map, HeapObject* obj, 69 static bool IsValidSlot(Map* map, HeapObject* obj, int offset) { in IsValidSlot() 74 static inline void IterateBody(Map* map, HeapObject* obj, ObjectVisitor* v) { in IterateBody() 79 static inline void IterateBody(Map* map, HeapObject* obj, int object_size, in IterateBody() 84 static inline int SizeOf(Map* map, HeapObject* object) { return kSize; } in SizeOf() [all …]
|
/external/v8/src/heap/ |
D | scavenger-inl.h | 40 HeapObject* heap_object; in PageMemoryFence() 48 bool Scavenger::MigrateObject(Map* map, HeapObject* source, HeapObject* target, in MigrateObject() 55 HeapObject* old = base::AsAtomicPointer::Release_CompareAndSwap( in MigrateObject() 56 reinterpret_cast<HeapObject**>(source->address()), map, in MigrateObject() 75 HeapObject* object, int object_size) { in SemiSpaceCopyObject() 77 AllocationAlignment alignment = HeapObject::RequiredAlignment(map); in SemiSpaceCopyObject() 81 HeapObject* target = nullptr; in SemiSpaceCopyObject() 102 HeapObject* object, int object_size) { in PromoteObject() 103 AllocationAlignment alignment = HeapObject::RequiredAlignment(map); in PromoteObject() 107 HeapObject* target = nullptr; in PromoteObject() [all …]
|
D | heap-write-barrier-inl.h | 31 HeapObject* object) { in FromHeapObject() 49 inline void GenerationalBarrierInternal(HeapObject* object, Address slot, in GenerationalBarrierInternal() 50 HeapObject* value) { in GenerationalBarrierInternal() 62 inline void MarkingBarrierInternal(HeapObject* object, Address slot, in MarkingBarrierInternal() 63 HeapObject* value) { in MarkingBarrierInternal() 78 HeapObject* object = HeapObject::cast(value); in WriteBarrierForCode() 87 inline void GenerationalBarrier(HeapObject* object, Object** slot, in GenerationalBarrier() 93 object, reinterpret_cast<Address>(slot), HeapObject::cast(value)); in GenerationalBarrier() 96 inline void GenerationalBarrier(HeapObject* object, MaybeObject** slot, in GenerationalBarrier() 98 HeapObject* value_heap_object; in GenerationalBarrier() [all …]
|
D | scavenger.h | 24 using ObjectAndSize = std::pair<HeapObject*, int>; 64 inline void ScavengeObject(HeapObjectReference** p, HeapObject* object); 67 V8_INLINE bool MigrateObject(Map* map, HeapObject* source, HeapObject* target, 71 HeapObject* object, int object_size); 74 HeapObject* object, int object_size); 77 HeapObject* source); 82 HeapObject* object, int object_size); 84 V8_INLINE void EvacuateJSFunction(Map* map, HeapObject** slot, 87 inline void EvacuateThinString(Map* map, HeapObject** slot, 90 inline void EvacuateShortcutCandidate(Map* map, HeapObject** slot, [all …]
|
D | mark-compact.h | 32 V8_INLINE MarkBit MarkBitFrom(HeapObject* obj) { in MarkBitFrom() 42 Marking::ObjectColor Color(HeapObject* obj) { in Color() 46 V8_INLINE bool IsImpossible(HeapObject* obj) { in IsImpossible() 50 V8_INLINE bool IsBlack(HeapObject* obj) { in IsBlack() 54 V8_INLINE bool IsWhite(HeapObject* obj) { in IsWhite() 58 V8_INLINE bool IsGrey(HeapObject* obj) { in IsGrey() 62 V8_INLINE bool IsBlackOrGrey(HeapObject* obj) { in IsBlackOrGrey() 66 V8_INLINE bool WhiteToGrey(HeapObject* obj) { in WhiteToGrey() 70 V8_INLINE bool WhiteToBlack(HeapObject* obj) { in WhiteToBlack() 74 V8_INLINE bool GreyToBlack(HeapObject* obj) { in GreyToBlack() [all …]
|
D | spaces-inl.h | 43 HeapObject* SemiSpaceIterator::Next() { in Next() 52 HeapObject* object = HeapObject::FromAddress(current_); in Next() 64 HeapObject* HeapObjectIterator::Next() { in Next() 66 HeapObject* next_obj = FromCurrentPage(); in Next() 72 HeapObject* HeapObjectIterator::FromCurrentPage() { in FromCurrentPage() 78 HeapObject* obj = HeapObject::FromAddress(cur_addr_); in FromCurrentPage() 98 bool SemiSpace::Contains(HeapObject* o) { in Contains() 105 return o->IsHeapObject() && Contains(HeapObject::cast(o)); in Contains() 118 bool NewSpace::Contains(HeapObject* o) { in Contains() 123 return o->IsHeapObject() && Contains(HeapObject::cast(o)); in Contains() [all …]
|
D | incremental-marking.h | 16 class HeapObject; variable 101 void NotifyLeftTrimming(HeapObject* from, HeapObject* to); 103 V8_INLINE void TransferColor(HeapObject* from, HeapObject* to) { in TransferColor() 199 static int RecordWriteFromCode(HeapObject* obj, MaybeObject** slot, 208 V8_INLINE bool BaseRecordWrite(HeapObject* obj, Object* value); 209 V8_INLINE void RecordWrite(HeapObject* obj, Object** slot, Object* value); 210 V8_INLINE void RecordMaybeWeakWrite(HeapObject* obj, MaybeObject** slot, 212 void RevisitObject(HeapObject* obj); 214 void RecordWriteSlow(HeapObject* obj, HeapObjectReference** slot, 216 void RecordWriteIntoCode(Code* host, RelocInfo* rinfo, HeapObject* value); [all …]
|
D | mark-compact-inl.h | 98 HeapObject* key = HeapObject::cast(table->KeyAt(i)); in VisitEphemeronHashTable() 111 HeapObject* value = HeapObject::cast(value_obj); in VisitEphemeronHashTable() 165 MarkingState>::VisitPointer(HeapObject* host, Object** p) { in VisitPointer() 167 HeapObject* target_object = HeapObject::cast(*p); in VisitPointer() 175 MarkingState>::VisitPointer(HeapObject* host, in VisitPointer() 177 HeapObject* target_object; in VisitPointer() 201 MarkingState>::VisitPointers(HeapObject* host, in VisitPointers() 211 MarkingState>::VisitPointers(HeapObject* host, in VisitPointers() 225 HeapObject* object = HeapObject::cast(rinfo->target_object()); in VisitEmbeddedPointer() 248 MarkingState>::MarkObjectWithoutPush(HeapObject* host, in MarkObjectWithoutPush() [all …]
|
D | heap-write-barrier.h | 14 class HeapObject; variable 34 void GenerationalBarrier(HeapObject* object, Object** slot, Object* value); 35 void GenerationalBarrier(HeapObject* object, MaybeObject** slot, 40 HeapObject* object); 43 void MarkingBarrier(HeapObject* object, Object** slot, Object* value); 44 void MarkingBarrier(HeapObject* object, MaybeObject** slot, MaybeObject* value); 45 void MarkingBarrierForElements(Heap* heap, HeapObject* object); 46 void MarkingBarrierForCode(Code* host, RelocInfo* rinfo, HeapObject* object);
|
D | heap.h | 198 typedef void (*ObjectSlotCallback)(HeapObject** from, HeapObject* to); 272 inline HeapObject* ToObjectChecked(); 488 V8_EXPORT_PRIVATE static void GenerationalBarrierSlow(HeapObject* object, 490 HeapObject* value); 494 Code* host, RelocInfo* rinfo, HeapObject* value); 495 V8_EXPORT_PRIVATE static void MarkingBarrierSlow(HeapObject* object, 497 HeapObject* value); 499 Heap* heap, HeapObject* object); 502 HeapObject* value); 503 V8_EXPORT_PRIVATE static bool PageFlagsAreConsistent(HeapObject* object); [all …]
|
/external/v8/src/objects/ |
D | maybe-object-inl.h | 35 bool MaybeObject::ToStrongOrWeakHeapObject(HeapObject** result) { in ToStrongOrWeakHeapObject() 44 HeapObject** result, HeapObjectReferenceType* reference_type) { in ToStrongOrWeakHeapObject() 59 bool MaybeObject::ToStrongHeapObject(HeapObject** result) { in ToStrongHeapObject() 61 *result = reinterpret_cast<HeapObject*>(this); in ToStrongHeapObject() 67 HeapObject* MaybeObject::ToStrongHeapObject() { in ToStrongHeapObject() 69 return reinterpret_cast<HeapObject*>(this); in ToStrongHeapObject() 80 bool MaybeObject::ToWeakHeapObject(HeapObject** result) { in ToWeakHeapObject() 88 HeapObject* MaybeObject::ToWeakHeapObject() { in ToWeakHeapObject() 93 HeapObject* MaybeObject::GetHeapObject() { in GetHeapObject()
|
/external/v8/src/snapshot/ |
D | serializer.h | 142 bool ReferenceMapContains(HeapObject* o) { in ReferenceMapContains() 166 virtual void SerializeObject(HeapObject* o, HowToCode how_to_code, 169 virtual bool MustBeDeferred(HeapObject* object); 175 void PutRoot(int index, HeapObject* object, HowToCode how, WhereToPoint where, 178 void PutBackReference(HeapObject* object, SerializerReference reference); 182 int PutAlignmentPrefix(HeapObject* object); 186 bool SerializeHotObject(HeapObject* obj, HowToCode how_to_code, 190 bool SerializeBackReference(HeapObject* obj, HowToCode how_to_code, 195 bool SerializeBuiltinReference(HeapObject* obj, HowToCode how_to_code, 199 bool ObjectIsBytecodeHandler(HeapObject* obj) const; [all …]
|