/external/v8/src/ |
D | objects-body-descriptors-inl.h | 14 int FlexibleBodyDescriptor<start_offset>::SizeOf(Map* map, HeapObject* object) { in SizeOf() 19 bool BodyDescriptorBase::IsValidSlotImpl(HeapObject* obj, int offset) { in IsValidSlotImpl() 33 void BodyDescriptorBase::IterateBodyImpl(HeapObject* obj, int start_offset, in IterateBodyImpl() 56 void BodyDescriptorBase::IterateBodyImpl(Heap* heap, HeapObject* obj, in IterateBodyImpl() 79 void BodyDescriptorBase::IteratePointers(HeapObject* obj, int start_offset, in IteratePointers() 81 v->VisitPointers(HeapObject::RawField(obj, start_offset), in IteratePointers() 82 HeapObject::RawField(obj, end_offset)); in IteratePointers() 87 void BodyDescriptorBase::IteratePointers(Heap* heap, HeapObject* obj, in IteratePointers() 90 HeapObject::RawField(obj, start_offset), in IteratePointers() 91 HeapObject::RawField(obj, end_offset)); in IteratePointers() [all …]
|
D | objects-body-descriptors.h | 39 static inline void IteratePointers(HeapObject* obj, int start_offset, 43 static inline void IteratePointers(Heap* heap, HeapObject* obj, 47 static inline void IteratePointer(HeapObject* obj, int offset, 51 static inline void IteratePointer(Heap* heap, HeapObject* obj, int offset); 55 static inline bool IsValidSlotImpl(HeapObject* obj, int offset); 59 static inline void IterateBodyImpl(HeapObject* obj, int start_offset, 64 static inline void IterateBodyImpl(Heap* heap, HeapObject* obj, 79 static bool IsValidSlot(HeapObject* obj, int offset) { in IsValidSlot() 84 static inline void IterateBody(HeapObject* obj, ObjectVisitor* v) { in IterateBody() 89 static inline void IterateBody(HeapObject* obj, int object_size, in IterateBody() [all …]
|
D | context-measure.h | 25 void MeasureObject(HeapObject* object); 27 void MeasureAndRecurse(HeapObject* object); 28 bool IsShared(HeapObject* object); 37 List<HeapObject*> deferred_objects_;
|
D | objects-printer.cc | 30 HeapObject::cast(this)->HeapObjectPrint(os); in Print() 35 void HeapObject::PrintHeader(std::ostream& os, const char* id) { // NOLINT in PrintHeader() 46 void HeapObject::HeapObjectPrint(std::ostream& os) { // NOLINT in HeapObjectPrint() 467 HeapObject::PrintHeader(os, "Symbol"); in SymbolPrint() 479 HeapObject::PrintHeader(os, "Map"); in MapPrint() 532 HeapObject::PrintHeader(os, "TypeFeedbackInfo"); in TypeFeedbackInfoPrint() 541 HeapObject::PrintHeader(os, "AliasedArgumentsEntry"); in AliasedArgumentsEntryPrint() 547 HeapObject::PrintHeader(os, "FixedArray"); in FixedArrayPrint() 557 HeapObject::PrintHeader(os, "FixedDoubleArray"); in FixedDoubleArrayPrint() 572 HeapObject::PrintHeader(os, "TransitionArray"); in TransitionArrayPrint() [all …]
|
D | address-map.h | 26 HeapObject* obj, in LookupEntry() 35 static uint32_t Hash(HeapObject* obj) { in Hash() 39 static void* Key(HeapObject* obj) { in Key() 50 int Lookup(HeapObject* obj) { in Lookup() 187 SerializerReference Lookup(HeapObject* obj) { in Lookup() 192 void Add(HeapObject* obj, SerializerReference b) { in Add() 199 SerializerReference AddAttachedReference(HeapObject* attached_reference) { in AddAttachedReference()
|
D | context-measure.cc | 28 bool ContextMeasure::IsShared(HeapObject* object) { in IsShared() 39 void ContextMeasure::MeasureObject(HeapObject* object) { in MeasureObject() 61 void ContextMeasure::MeasureAndRecurse(HeapObject* object) { in MeasureAndRecurse() 74 MeasureObject(HeapObject::cast(*current)); in VisitPointers()
|
/external/v8/src/heap/ |
D | objects-visiting.h | 205 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE() 213 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) { in VisitSpecialized() 218 HeapObject::RawField(object, BodyDescriptor::kStartOffset), in VisitSpecialized() 219 HeapObject::RawField(object, object_size)); in VisitSpecialized() 228 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE() 256 INLINE(static int IterateBody(Map* map, HeapObject* obj)) { in INLINE() 260 INLINE(static void VisitPointers(Heap* heap, HeapObject* object, in INLINE() 270 INLINE(static void VisitCodeEntry(Heap* heap, HeapObject* object, in INLINE() 276 INLINE(static int VisitByteArray(Map* map, HeapObject* object)) { in INLINE() 280 INLINE(static int VisitFixedDoubleArray(Map* map, HeapObject* object)) { in INLINE() [all …]
|
D | scavenger.cc | 95 static void RecordCopiedObject(Heap* heap, HeapObject* obj) { in RecordCopiedObject() 113 INLINE(static void MigrateObject(Heap* heap, HeapObject* source, in INLINE() 114 HeapObject* target, int size)) { in INLINE() 148 static inline bool SemiSpaceCopyObject(Map* map, HeapObject** slot, in SemiSpaceCopyObject() 149 HeapObject* object, int object_size) { in SemiSpaceCopyObject() 156 HeapObject* target = NULL; // Initialization to please compiler. in SemiSpaceCopyObject() 177 static inline bool PromoteObject(Map* map, HeapObject** slot, in PromoteObject() 178 HeapObject* object, int object_size) { in PromoteObject() 184 HeapObject* target = NULL; // Initialization to please compiler. in PromoteObject() 203 static inline void EvacuateObject(Map* map, HeapObject** slot, in EvacuateObject() [all …]
|
D | objects-visiting-inl.h | 107 Map* map, HeapObject* object) { in VisitBytecodeArray() 110 HeapObject::RawField(object, BytecodeArray::kConstantPoolOffset), in VisitBytecodeArray() 111 HeapObject::RawField(object, BytecodeArray::kFrameSizeOffset)); in VisitBytecodeArray() 209 Heap* heap, HeapObject* object, Address entry_address) { in VisitCodeEntry() 221 HeapObject* object = HeapObject::cast(rinfo->target_object()); in VisitEmbeddedPointer() 293 Map* map, HeapObject* object) { in VisitNativeContext() 301 HeapObject* object) { in VisitMap() 317 HeapObject::RawField(object, Map::kPointerFieldsBeginOffset), in VisitMap() 318 HeapObject::RawField(object, Map::kPointerFieldsEndOffset)); in VisitMap() 325 Map* map, HeapObject* object) { in VisitPropertyCell() [all …]
|
D | scavenger-inl.h | 13 void Scavenger::ScavengeObject(HeapObject** p, HeapObject* object) { in ScavengeObject() 25 HeapObject* dest = first_word.ToForwardingAddress(); in ScavengeObject() 45 HeapObject* heap_object = reinterpret_cast<HeapObject*>(object); in CheckAndScavengeObject() 48 ScavengeObject(reinterpret_cast<HeapObject**>(slot), heap_object); in CheckAndScavengeObject() 67 HeapObject* obj, in VisitPointer() 71 Scavenger::ScavengeObject(reinterpret_cast<HeapObject**>(p), in VisitPointer() 72 reinterpret_cast<HeapObject*>(object)); in VisitPointer()
|
D | mark-compact-inl.h | 15 void MarkCompactCollector::PushBlack(HeapObject* obj) { in PushBlack() 25 void MarkCompactCollector::UnshiftBlack(HeapObject* obj) { in UnshiftBlack() 34 void MarkCompactCollector::MarkObject(HeapObject* obj, MarkBit mark_bit) { in MarkObject() 44 void MarkCompactCollector::SetMark(HeapObject* obj, MarkBit mark_bit) { in SetMark() 54 HeapObject* heap_object = HeapObject::cast(obj); in IsMarked() 59 void MarkCompactCollector::RecordSlot(HeapObject* object, Object** slot, in RecordSlot() 91 HeapObject::RawField(candidate, JSFunction::kNextFunctionLinkOffset)); in GetNextCandidateSlot() 132 HeapObject* LiveObjectIterator<T>::Next() { in Next() 134 HeapObject* object = nullptr; in Next() 155 object = HeapObject::FromAddress(addr); in Next() [all …]
|
D | spaces-inl.h | 56 HeapObject* SemiSpaceIterator::Next() { in Next() 65 HeapObject* object = HeapObject::FromAddress(current_); in Next() 77 HeapObject* HeapObjectIterator::Next() { in Next() 79 HeapObject* next_obj = FromCurrentPage(); in Next() 85 HeapObject* HeapObjectIterator::FromCurrentPage() { in FromCurrentPage() 91 HeapObject* obj = HeapObject::FromAddress(cur_addr_); in FromCurrentPage() 141 bool SemiSpace::Contains(HeapObject* o) { in Contains() 148 return o->IsHeapObject() && Contains(HeapObject::cast(o)); in Contains() 161 bool NewSpace::Contains(HeapObject* o) { in Contains() 166 return o->IsHeapObject() && Contains(HeapObject::cast(o)); in Contains() [all …]
|
D | scavenger.h | 14 typedef void (*ScavengingCallback)(Map* map, HeapObject** slot, 15 HeapObject* object); 28 static inline void ScavengeObject(HeapObject** p, HeapObject* object); 33 static void ScavengeObjectSlow(HeapObject** p, HeapObject* object); 70 static inline void VisitPointer(Heap* heap, HeapObject* object, Object** p);
|
D | object-stats.h | 87 HeapObject* obj); 88 static void CollectFixedArrayStatistics(HeapObject* obj); 93 static void RecordMapStats(Map* map, HeapObject* obj); 94 static void RecordCodeStats(Map* map, HeapObject* obj); 95 static void RecordSharedFunctionInfoStats(Map* map, HeapObject* obj); 96 static void RecordFixedArrayStats(Map* map, HeapObject* obj); 105 static inline void Visit(Map* map, HeapObject* obj); 114 static inline void Visit(Map* map, HeapObject* obj);
|
D | mark-compact.h | 20 typedef bool (*IsAliveFunction)(HeapObject* obj, int* size, int* offset); 23 typedef void (*MarkObjectFunction)(Heap* heap, HeapObject* object); 38 INLINE(static MarkBit MarkBitFrom(HeapObject* obj)) { in INLINE() 114 INLINE(static void BlackToGrey(HeapObject* obj)) { in INLINE() 147 static ObjectColor Color(HeapObject* obj) { in Color() 161 INLINE(static bool TransferColor(HeapObject* from, HeapObject* to)) { in INLINE() 210 INLINE(bool Push(HeapObject* object)) { in INLINE() 222 INLINE(HeapObject* Pop()) { in INLINE() 225 HeapObject* object = array_[top_]; in INLINE() 232 INLINE(bool Unshift(HeapObject* object)) { in INLINE() [all …]
|
D | incremental-marking.cc | 50 bool IncrementalMarking::BaseRecordWrite(HeapObject* obj, Object* value) { in BaseRecordWrite() 51 HeapObject* value_heap_obj = HeapObject::cast(value); in BaseRecordWrite() 67 void IncrementalMarking::RecordWriteSlow(HeapObject* obj, Object** slot, in RecordWriteSlow() 76 void IncrementalMarking::RecordWriteFromCode(HeapObject* obj, Object** slot, in RecordWriteFromCode() 106 HeapObject* value) { in RecordCodeTargetPatch() 114 void IncrementalMarking::RecordCodeTargetPatch(Address pc, HeapObject* value) { in RecordCodeTargetPatch() 144 void IncrementalMarking::WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit) { in WhiteToGreyAndPush() 152 HeapObject* heap_obj = HeapObject::cast(obj); in MarkObjectGreyDoNotEnqueue() 153 MarkBit mark_bit = Marking::MarkBitFrom(HeapObject::cast(obj)); in MarkObjectGreyDoNotEnqueue() 162 static inline void MarkBlackOrKeepBlack(HeapObject* heap_object, in MarkBlackOrKeepBlack() [all …]
|
D | incremental-marking.h | 157 static void RecordWriteFromCode(HeapObject* obj, Object** slot, 169 INLINE(bool BaseRecordWrite(HeapObject* obj, Object* value)); 170 INLINE(void RecordWrite(HeapObject* obj, Object** slot, Object* value)); 176 void RecordWriteSlow(HeapObject* obj, Object** slot, Object* value); 179 void RecordCodeTargetPatch(Code* host, Address pc, HeapObject* value); 180 void RecordCodeTargetPatch(Address pc, HeapObject* value); 182 void WhiteToGreyAndPush(HeapObject* obj, MarkBit mark_bit); 206 static void MarkObject(Heap* heap, HeapObject* object); 208 void IterateBlackObject(HeapObject* object); 271 INLINE(void VisitObject(Map* map, HeapObject* obj, int size));
|
D | mark-compact.cc | 77 HeapObject* object = HeapObject::cast(*current); in VisitPointers() 106 HeapObject* object; in VerifyMarking() 110 object = HeapObject::FromAddress(current); in VerifyMarking() 126 for (HeapObject* object = it.Next(); object != NULL; object = it.Next()) { in VerifyMarkingBlackPage() 168 for (HeapObject* obj = it.Next(); obj != NULL; obj = it.Next()) { in VerifyMarking() 183 HeapObject* object = HeapObject::cast(*current); in VisitPointers() 194 for (HeapObject* heap_object = iterator.Next(); heap_object != NULL; in VerifyEvacuation() 213 HeapObject* object = HeapObject::FromAddress(current); in VerifyEvacuation() 379 for (HeapObject* obj = it.Next(); obj != NULL; obj = it.Next()) { in VerifyMarkbitsAreClean() 389 for (HeapObject* obj = code_iterator.Next(); obj != NULL; in VerifyWeakEmbeddedObjectsInCode() [all …]
|
D | heap-inl.h | 28 void PromotionQueue::insert(HeapObject* target, int32_t size, in insert() 134 HeapObject* result = nullptr; in AllocateOneByteInternalizedString() 165 HeapObject* result = nullptr; in AllocateTwoByteInternalizedString() 213 HeapObject* object = nullptr; in AllocateRaw() 264 void Heap::OnAllocationEvent(HeapObject* object, int size_in_bytes) { in OnAllocationEvent() 292 void Heap::OnMoveEvent(HeapObject* target, HeapObject* source, in OnMoveEvent() 320 void Heap::UpdateAllocationsHash(HeapObject* object) { in UpdateAllocationsHash() 426 HeapObject::cast(object)->address() + offset); in RecordWrite() 441 bool Heap::AllowedToBeMigrated(HeapObject* obj, AllocationSpace dst) { in AllowedToBeMigrated() 480 HeapObject* current = reinterpret_cast<HeapObject*>(*object); in PurgeLeftTrimmedObject() [all …]
|
/external/v8/test/cctest/heap/ |
D | test-lab.cc | 20 Address adr = HeapObject::cast(obj)->address(); in AllocateLabBackingStore() 29 HeapObject* object = nullptr; in VerifyIterable() 32 object = HeapObject::FromAddress(base); in VerifyIterable() 45 HeapObject* obj; in AllocateFromLab() 74 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST() 95 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST() 124 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST() 151 AllocationResult lab_backing_store(HeapObject::FromAddress(base)); in TEST() 192 AllocationResult lab_backing_store1(HeapObject::FromAddress(base1)); in TEST() 205 AllocationResult lab_backing_store2(HeapObject::FromAddress(base2)); in TEST() [all …]
|
/external/v8/src/snapshot/ |
D | deserializer.h | 58 void AddAttachedObject(Handle<HeapObject> attached_object) { in AddAttachedObject() 107 HeapObject* PostProcessNewObject(HeapObject* obj, int space); 111 HeapObject* GetBackReferencedObject(int space); 120 List<Handle<HeapObject> > attached_objects_; 135 List<HeapObject*> deserialized_large_objects_;
|
D | serializer.h | 156 virtual void SerializeObject(HeapObject* o, HowToCode how_to_code, 161 void PutRoot(int index, HeapObject* object, HowToCode how, WhereToPoint where, 166 void PutBackReference(HeapObject* object, SerializerReference reference); 172 int PutAlignmentPrefix(HeapObject* object); 175 bool SerializeHotObject(HeapObject* obj, HowToCode how_to_code, 179 bool SerializeBackReference(HeapObject* obj, HowToCode how_to_code, 217 void QueueDeferredObject(HeapObject* obj) { in QueueDeferredObject() 256 List<HeapObject*> deferred_objects_; 269 ObjectSerializer(Serializer* serializer, HeapObject* obj, in ObjectSerializer() 319 HeapObject* object_;
|
/external/v8/test/cctest/ |
D | test-slots-buffer.cc | 27 buffer->Add(HeapObject::RawField(*array, FixedArray::kHeaderSize)); in TEST() 29 HeapObject::RawField(*array, FixedArray::kHeaderSize)); in TEST() 34 HeapObject::RawField(heap->empty_fixed_array(), in TEST() 44 HeapObject::RawField(*array, FixedArray::kHeaderSize)); in TEST() 49 HeapObject::RawField(heap->empty_fixed_array(), in TEST() 52 HeapObject::RawField(heap->empty_fixed_array(), in TEST() 114 Object** kRemovedEntry = HeapObject::RawField(heap->empty_fixed_array(), in TEST()
|
D | test-representation.cc | 56 TestPairPositive(Representation::HeapObject(), Representation::None()); in TEST() 67 TestPairNegative(Representation::HeapObject(), Representation::Integer8()); in TEST() 78 TestPairNegative(Representation::HeapObject(), Representation::UInteger8()); in TEST() 89 TestPairNegative(Representation::HeapObject(), Representation::Integer16()); in TEST() 100 TestPairNegative(Representation::HeapObject(), Representation::UInteger16()); in TEST() 111 TestPairNegative(Representation::HeapObject(), Representation::Smi()); in TEST() 122 TestPairNegative(Representation::HeapObject(), Representation::Integer32()); in TEST()
|
/external/v8/src/profiler/ |
D | heap-snapshot-generator.h | 355 HeapObject* object); 357 void MarkVisitedField(HeapObject* obj, int offset); 359 HeapEntry* AddEntry(HeapObject* object); 360 HeapEntry* AddEntry(HeapObject* object, 364 const char* GetSystemEntryName(HeapObject* object); 369 bool ExtractReferencesPass1(int entry, HeapObject* obj); 370 bool ExtractReferencesPass2(int entry, HeapObject* obj); 399 void SetContextReference(HeapObject* parent_obj, 404 void SetNativeBindReference(HeapObject* parent_obj, 408 void SetElementReference(HeapObject* parent_obj, [all …]
|