Home
last modified time | relevance | path

Searched refs:heap_object (Results 1 – 25 of 51) sorted by relevance

123

/external/v8/src/ic/
Dic-inl.h29 HeapObject heap_object; in IsHandler() local
31 (object->GetHeapObjectIfWeak(&heap_object) && in IsHandler()
32 (heap_object.IsMap() || heap_object.IsPropertyCell())) || in IsHandler()
33 (object->GetHeapObjectIfStrong(&heap_object) && in IsHandler()
34 (heap_object.IsDataHandler() || heap_object.IsCode())); in IsHandler()
/external/v8/src/heap/
Dscavenger-inl.h77 entry->heap_object = regular_object.first; in Pop()
79 entry->map = entry->heap_object.map(); in Pop()
112 HeapObject heap_object; in PageMemoryFence() local
113 if (object->GetHeapObject(&heap_object)) { in PageMemoryFence()
114 BasicMemoryChunk::FromHeapObject(heap_object)->SynchronizedHeapLoad(); in PageMemoryFence()
422 HeapObject heap_object = object->GetHeapObject(); in CheckAndScavengeObject() local
425 ScavengeObject(THeapObjectSlot(slot), heap_object); in CheckAndScavengeObject()
461 HeapObject heap_object = rinfo->target_object(); in VisitEmbeddedPointer() local
463 HeapObject old_heap_object = heap_object; in VisitEmbeddedPointer()
465 FullObjectSlot slot(&heap_object); in VisitEmbeddedPointer()
[all …]
Dheap-inl.h394 HeapObject heap_object; in InYoungGeneration() local
395 return object->GetHeapObject(&heap_object) && InYoungGeneration(heap_object); in InYoungGeneration()
399 bool Heap::InYoungGeneration(HeapObject heap_object) { in InYoungGeneration() argument
402 BasicMemoryChunk::FromHeapObject(heap_object)->InYoungGeneration(); in InYoungGeneration()
409 Heap* heap = Heap::FromWritableHeapObject(heap_object); in InYoungGeneration()
410 DCHECK_IMPLIES(heap->gc_state() == NOT_IN_GC, InToPage(heap_object)); in InYoungGeneration()
424 HeapObject heap_object; in InFromPage() local
425 return object->GetHeapObject(&heap_object) && InFromPage(heap_object); in InFromPage()
429 bool Heap::InFromPage(HeapObject heap_object) { in InFromPage() argument
430 return BasicMemoryChunk::FromHeapObject(heap_object)->IsFromPage(); in InFromPage()
[all …]
Dmarking-visitor-inl.h40 HeapObject host, THeapObjectSlot slot, HeapObject heap_object) { in ProcessStrongHeapObject() argument
41 MarkObject(host, heap_object); in ProcessStrongHeapObject()
42 concrete_visitor()->RecordSlot(host, slot, heap_object); in ProcessStrongHeapObject()
50 HeapObject host, THeapObjectSlot slot, HeapObject heap_object) { in ProcessWeakHeapObject() argument
51 concrete_visitor()->SynchronizePageAccess(heap_object); in ProcessWeakHeapObject()
52 if (concrete_visitor()->marking_state()->IsBlackOrGrey(heap_object)) { in ProcessWeakHeapObject()
56 concrete_visitor()->RecordSlot(host, slot, heap_object); in ProcessWeakHeapObject()
75 HeapObject heap_object; in VisitPointersImpl() local
76 if (object.GetHeapObjectIfStrong(&heap_object)) { in VisitPointersImpl()
80 ProcessStrongHeapObject(host, THeapObjectSlot(slot), heap_object); in VisitPointersImpl()
[all …]
Dmark-compact.cc236 V8_INLINE void VerifyHeapObjectImpl(HeapObject heap_object) { in VerifyHeapObjectImpl() argument
237 CHECK(marking_state_->IsBlackOrGrey(heap_object)); in VerifyHeapObjectImpl()
244 HeapObject heap_object; in VerifyPointersImpl() local
245 if (object.GetHeapObjectIfStrong(&heap_object)) { in VerifyPointersImpl()
246 VerifyHeapObjectImpl(heap_object); in VerifyPointersImpl()
340 V8_INLINE void VerifyHeapObjectImpl(HeapObject heap_object) { in VerifyHeapObjectImpl() argument
341 CHECK_IMPLIES(Heap::InYoungGeneration(heap_object), in VerifyHeapObjectImpl()
342 Heap::InToPage(heap_object)); in VerifyHeapObjectImpl()
343 CHECK(!MarkCompactCollector::IsOnEvacuationCandidate(heap_object)); in VerifyHeapObjectImpl()
350 HeapObject heap_object; in VerifyPointersImpl() local
[all …]
Dscavenger.cc49 HeapObject heap_object = rinfo->target_object(); in VisitEmbeddedPointer() local
50 HandleSlot(host, FullHeapObjectSlot(&heap_object), heap_object); in VisitEmbeddedPointer()
75 HeapObject heap_object; in VisitPointersImpl() local
76 if (object.GetHeapObject(&heap_object)) { in VisitPointersImpl()
77 HandleSlot(host, THeapObjectSlot(slot), heap_object); in VisitPointersImpl()
137 V8_INLINE bool IsUnscavengedHeapObject(Heap* heap, HeapObject heap_object) { in IsUnscavengedHeapObject() argument
138 return Heap::InFromPage(heap_object) && in IsUnscavengedHeapObject()
139 !heap_object.map_word().IsForwardingAddress(); in IsUnscavengedHeapObject()
632 HeapObject target = entry.heap_object; in Process()
Dconcurrent-marking.cc247 HeapObject heap_object = HeapObject::cast(object); in VisitPointersInSnapshot() local
248 MarkObject(host, heap_object); in VisitPointersInSnapshot()
249 RecordSlot(host, slot, heap_object); in VisitPointersInSnapshot()
295 void SynchronizePageAccess(HeapObject heap_object) { in SynchronizePageAccess() argument
299 BasicMemoryChunk::FromHeapObject(heap_object)->SynchronizedHeapLoad(); in SynchronizePageAccess()
Dmarking-visitor.h164 HeapObject heap_object);
167 HeapObject heap_object);
Dscavenger.h43 HeapObject heap_object; member
246 V8_INLINE void VisitHeapObjectImpl(TSlot slot, HeapObject heap_object);
/external/v8/src/handles/
Dmaybe-handles-inl.h25 HeapObject heap_object; in MaybeObjectHandle() local
27 if (object->GetHeapObjectIfWeak(&heap_object)) { in MaybeObjectHandle()
28 handle_ = handle(heap_object, isolate); in MaybeObjectHandle()
38 HeapObject heap_object; in MaybeObjectHandle() local
40 if (object->GetHeapObjectIfWeak(&heap_object)) { in MaybeObjectHandle()
41 handle_ = handle(heap_object, local_heap); in MaybeObjectHandle()
Dhandles.cc36 HeapObject heap_object = HeapObject::cast(object); in IsDereferenceAllowed() local
37 if (IsReadOnlyHeapObject(heap_object)) return true; in IsDereferenceAllowed()
38 Isolate* isolate = GetIsolateFromWritableObject(heap_object); in IsDereferenceAllowed()
/external/v8/src/utils/
Daddress-map.cc27 HeapObject heap_object = HeapObject::cast(root); in RootIndexMap() local
28 Maybe<uint32_t> maybe_index = map_->Get(heap_object); in RootIndexMap()
34 map_->Set(heap_object, index); in RootIndexMap()
/external/v8/src/objects/
Dfeedback-vector.cc47 HeapObject heap_object; in IsPropertyNameFeedback() local
48 if (!feedback->GetHeapObjectIfStrong(&heap_object)) return false; in IsPropertyNameFeedback()
49 if (heap_object.IsString()) { in IsPropertyNameFeedback()
50 DCHECK(heap_object.IsInternalizedString()); in IsPropertyNameFeedback()
53 if (!heap_object.IsSymbol()) return false; in IsPropertyNameFeedback()
54 Symbol symbol = Symbol::cast(heap_object); in IsPropertyNameFeedback()
716 HeapObject heap_object; in ic_state() local
717 if (feedback->GetHeapObjectIfStrong(&heap_object)) { in ic_state()
718 if (heap_object.IsWeakFixedArray()) { in ic_state()
723 if (heap_object.IsName()) { in ic_state()
[all …]
Dtransitions-inl.h159 HeapObject heap_object; in GetTargetIfExists() local
168 if (raw->GetHeapObjectIfStrong(&heap_object) && in GetTargetIfExists()
169 heap_object.IsUndefined(isolate)) { in GetTargetIfExists()
224 HeapObject heap_object; in Initialize() local
229 } else if (raw_transitions_->GetHeapObjectIfStrong(isolate_, &heap_object)) { in Initialize()
230 if (heap_object.IsTransitionArray()) { in Initialize()
232 } else if (heap_object.IsPrototypeInfo()) { in Initialize()
236 DCHECK(heap_object.IsMap()); in Initialize()
Dshared-function-info.cc141 HeapObject heap_object; in Next() local
142 if (!raw->GetHeapObject(&heap_object) || heap_object.IsUndefined()) { in Next()
145 return SharedFunctionInfo::cast(heap_object); in Next()
179 HeapObject heap_object; in SetScript() local
180 if (maybe_object->GetHeapObjectIfWeak(&heap_object)) { in SetScript()
181 DCHECK_EQ(heap_object, *this); in SetScript()
197 HeapObject heap_object; in SetScript() local
198 if (raw->GetHeapObjectIfWeak(&heap_object) && heap_object == *this) { in SetScript()
Dosr-optimized-code-cache.cc114 HeapObject heap_object; in EvictMarkedCode() local
115 if (!code_entry->GetHeapObject(&heap_object)) continue; in EvictMarkedCode()
117 DCHECK(heap_object.IsCode()); in EvictMarkedCode()
118 DCHECK(Code::cast(heap_object).is_optimized_code()); in EvictMarkedCode()
119 if (!Code::cast(heap_object).marked_for_deoptimization()) continue; in EvictMarkedCode()
Dfeedback-vector-inl.h114 HeapObject heap_object; in optimized_code() local
116 slot->GetHeapObject(&heap_object) ? Code::cast(heap_object) : Code(); in optimized_code()
159 HeapObject heap_object; in IsOfLegacyType() local
160 if (value->GetHeapObject(&heap_object)) { in IsOfLegacyType()
161 return heap_object.IsFixedArray() && !heap_object.IsHashTable(); in IsOfLegacyType()
Dtransitions.cc387 HeapObject heap_object; in GetPrototypeTransition() local
388 if (target->GetHeapObjectIfWeak(&heap_object)) { in GetPrototypeTransition()
389 Map map = Map::cast(heap_object); in GetPrototypeTransition()
506 HeapObject heap_object; in TraverseTransitionTreeInternal() local
507 if (target->GetHeapObjectIfWeak(&heap_object)) { in TraverseTransitionTreeInternal()
508 TransitionsAccessor(isolate_, Map::cast(heap_object), no_gc) in TraverseTransitionTreeInternal()
Dobjects-inl.h399 Handle<HeapObject> heap_object = Handle<HeapObject>::cast(object); in IsArray() local
400 if (heap_object->IsJSArray()) return Just(true); in IsArray()
401 if (!heap_object->IsJSProxy()) return Just(false); in IsArray()
493 HeapObject heap_object = HeapObject::cast(*this); in OptimalRepresentation() local
494 if (FLAG_track_double_fields && heap_object.IsHeapNumber(isolate)) { in OptimalRepresentation()
497 heap_object.IsUninitialized( in OptimalRepresentation()
498 heap_object.GetReadOnlyRoots(isolate))) { in OptimalRepresentation()
/external/v8/src/snapshot/
Ddeserializer.cc711 Handle<HeapObject> heap_object = ReadObject(); in ReadRepeatedObject() local
712 DCHECK(!Heap::InYoungGeneration(*heap_object)); in ReadRepeatedObject()
715 slot_accessor.Write(heap_object, HeapObjectReferenceType::STRONG, i); in ReadRepeatedObject()
793 Handle<HeapObject> heap_object = ReadObject(space); in ReadSingleBytecodeData() local
794 return slot_accessor.Write(heap_object, ref_type); in ReadSingleBytecodeData()
800 Handle<HeapObject> heap_object = GetBackReferencedObject(); in ReadSingleBytecodeData() local
801 return slot_accessor.Write(heap_object, GetAndResetNextReferenceType()); in ReadSingleBytecodeData()
814 HeapObject heap_object = HeapObject::FromAddress(address); in ReadSingleBytecodeData() local
816 return slot_accessor.Write(heap_object, GetAndResetNextReferenceType()); in ReadSingleBytecodeData()
824 Handle<HeapObject> heap_object = in ReadSingleBytecodeData() local
[all …]
Droots-serializer.cc28 int RootsSerializer::SerializeInObjectCache(Handle<HeapObject> heap_object) { in SerializeInObjectCache() argument
30 if (!object_cache_index_map_.LookupOrInsert(heap_object, &index)) { in SerializeInObjectCache()
33 SerializeObject(heap_object); in SerializeInObjectCache()
Dcode-serializer.h67 void SerializeGeneric(Handle<HeapObject> heap_object);
/external/v8/src/diagnostics/
Dobjects-debug.cc131 HeapObject heap_object; in VerifyMaybeObjectPointer() local
132 if (p->GetHeapObject(&heap_object)) { in VerifyMaybeObjectPointer()
133 HeapObject::VerifyHeapPointer(isolate, heap_object); in VerifyMaybeObjectPointer()
619 HeapObject heap_object; in DescriptorArrayVerify() local
626 (value->GetHeapObjectIfWeak(&heap_object) && heap_object.IsMap())); in DescriptorArrayVerify()
1461 HeapObject heap_object; in Verify() local
1463 if ((object->GetHeapObjectIfWeak(&heap_object) && heap_object.IsMap()) || in Verify()
1580 HeapObject heap_object; in ScriptVerify() local
1582 (maybe_object->GetHeapObjectIfStrong(&heap_object) && in ScriptVerify()
1583 heap_object.IsUndefined(isolate))); in ScriptVerify()
[all …]
/external/v8/src/profiler/
Dheap-snapshot-generator.cc725 HeapObject heap_object; in VisitPointers() local
726 if ((*p)->GetHeapObject(&heap_object)) { in VisitPointers()
727 VisitHeapObjectImpl(heap_object, field_index); in VisitPointers()
742 V8_INLINE void VisitHeapObjectImpl(HeapObject heap_object, int field_index) { in VisitHeapObjectImpl() argument
748 heap_object, field_index * kTaggedSize); in VisitHeapObjectImpl()
1303 HeapObject heap_object; in ExtractDescriptorArrayReferences() local
1304 if (object->GetHeapObjectIfWeak(&heap_object)) { in ExtractDescriptorArrayReferences()
1305 SetWeakReference(entry, i, heap_object, offset); in ExtractDescriptorArrayReferences()
1306 } else if (object->GetHeapObjectIfStrong(&heap_object)) { in ExtractDescriptorArrayReferences()
1307 SetInternalReference(entry, i, heap_object, offset); in ExtractDescriptorArrayReferences()
[all …]
Dsampling-heap-profiler.cc81 HeapObject heap_object = HeapObject::FromAddress(soon_object); in SampleObject() local
82 Handle<Object> obj(heap_object, isolate_); in SampleObject()

123