Home
last modified time | relevance | path

Searched refs:heap_obj (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/profiler/
Dheap-profiler.cc237 HeapObject* heap_obj; in QueryObjects() local
238 while ((heap_obj = heap_iterator.next()) != nullptr) { in QueryObjects()
239 if (!heap_obj->IsJSObject() || heap_obj->IsExternal(isolate())) continue; in QueryObjects()
241 Utils::ToLocal(handle(JSObject::cast(heap_obj), isolate()))); in QueryObjects()
/external/v8/src/heap/
Dincremental-marking.cc643 T* ForwardingAddress(T* heap_obj) { in ForwardingAddress() argument
644 MapWord map_word = heap_obj->map_word(); in ForwardingAddress()
648 } else if (Heap::InNewSpace(heap_obj)) { in ForwardingAddress()
651 return heap_obj; in ForwardingAddress()
660 HeapObject* heap_obj = slot_in.first; in UpdateWeakReferencesAfterScavenge() local
661 HeapObject* forwarded = ForwardingAddress(heap_obj); in UpdateWeakReferencesAfterScavenge()
679 HeapObject* heap_obj = slot_in.first; in UpdateWeakReferencesAfterScavenge() local
680 HeapObject* forwarded = ForwardingAddress(heap_obj); in UpdateWeakReferencesAfterScavenge()
Dspaces-inl.h378 HeapObject* heap_obj = nullptr; in AllocateRaw() local
379 if (!result.IsRetry() && result.To(&heap_obj) && !is_local()) { in AllocateRaw()
382 heap()->incremental_marking()->marking_state()->IsBlack(heap_obj)); in AllocateRaw()
384 heap_obj->address(), size_in_bytes); in AllocateRaw()
Dmark-compact.cc2147 MaybeObject** slot, MaybeObject* old, HeapObject* heap_obj, in UpdateSlot() argument
2149 MapWord map_word = heap_obj->map_word(); in UpdateSlot()
2151 DCHECK(Heap::InFromSpace(heap_obj) || in UpdateSlot()
2152 MarkCompactCollector::IsOnEvacuationCandidate(heap_obj) || in UpdateSlot()
2153 Page::FromAddress(heap_obj->address()) in UpdateSlot()
2167 DCHECK(heap_obj->map()->IsMap()); in UpdateSlot()
2176 HeapObject* heap_obj; in UpdateSlot() local
2177 if (obj->ToWeakHeapObject(&heap_obj)) { in UpdateSlot()
2178 UpdateSlot<access_mode>(slot, obj, heap_obj, HeapObjectReferenceType::WEAK); in UpdateSlot()
2179 } else if (obj->ToStrongHeapObject(&heap_obj)) { in UpdateSlot()
[all …]
/external/v8/src/
Dapi.cc3468 i::Handle<i::HeapObject> heap_obj = i::Handle<i::HeapObject>::cast(obj); in IsExternal() local
3472 if (heap_obj->map()->instance_type() != i::JS_OBJECT_TYPE) return false; in IsExternal()
3473 i::Isolate* isolate = i::JSObject::cast(*heap_obj)->GetIsolate(); in IsExternal()
3474 return heap_obj->IsExternal(isolate); in IsExternal()