Lines Matching defs:object
26 HeapObject host, HeapObject object) {
27 DCHECK(ReadOnlyHeap::Contains(object) || heap_->Contains(object));
28 concrete_visitor()->SynchronizePageAccess(object);
29 AddStrongReferenceForReferenceSummarizer(host, object);
30 if (concrete_visitor()->marking_state()->WhiteToGrey(object)) {
31 local_marking_worklists_->Push(object);
34 heap_->AddRetainer(host, object);
82 typename TSlot::TObject object =
85 if (object.GetHeapObjectIfStrong(&heap_object)) {
90 } else if (TSlot::kCanBeWeak && object.GetHeapObjectIfWeak(&heap_object)) {
101 Object object =
104 if (object.GetHeapObjectIfStrong(&heap_object)) {
116 HeapObject object =
118 if (!is_shared_heap_ && object.InSharedHeap()) return;
120 if (!concrete_visitor()->marking_state()->IsBlackOrGrey(object)) {
121 if (host.IsWeakObject(object)) {
123 std::make_pair(object, host));
124 AddWeakReferenceForReferenceSummarizer(host, object);
126 MarkObject(host, object);
129 concrete_visitor()->RecordRelocSlot(host, rinfo, object);
149 Map map, BytecodeArray object) {
150 if (!concrete_visitor()->ShouldVisit(object)) return 0;
151 int size = BytecodeArray::BodyDescriptor::SizeOf(map, object);
152 this->VisitMapPointer(object);
153 BytecodeArray::BodyDescriptor::IterateBody(map, object, size, this);
155 object.MakeOlder();
220 VisitFixedArrayWithProgressBar(Map map, FixedArray object,
224 DCHECK(concrete_visitor()->marking_state()->IsBlackOrGrey(object));
225 concrete_visitor()->marking_state()->GreyToBlack(object);
226 int size = FixedArray::BodyDescriptor::SizeOf(map, object);
230 this->VisitMapPointer(object);
235 VisitPointers(object, object.RawField(start), object.RawField(end));
239 // The object can be pushed back onto the marking worklist only after
241 local_marking_worklists_->Push(object);
249 Map map, FixedArray object) {
251 // in the large object space.
253 MemoryChunk::FromHeapObject(object)->ProgressBar();
255 ? VisitFixedArrayWithProgressBar(map, object, progress_bar)
256 : concrete_visitor()->VisitLeftTrimmableArray(map, object);
261 Map map, FixedDoubleArray object) {
262 return concrete_visitor()->VisitLeftTrimmableArray(map, object);
272 VisitEmbedderTracingSubClassNoEmbedderTracing(Map map, T object) {
273 return concrete_visitor()->VisitJSObjectSubclass(map, object);
279 VisitEmbedderTracingSubClassWithEmbedderTracing(Map map, T object) {
285 local_marking_worklists_->ExtractWrapper(map, object, wrapper_snapshot);
286 const int size = concrete_visitor()->VisitJSObjectSubclass(map, object);
289 // Success: The object needs to be processed for embedder references.
294 local_marking_worklists_->PushWrapper(object);
304 T object) {
305 DCHECK(object.MayHaveEmbedderFields());
307 return VisitEmbedderTracingSubClassWithEmbedderTracing(map, object);
309 return VisitEmbedderTracingSubClassNoEmbedderTracing(map, object);
314 Map map, JSObject object) {
315 return VisitEmbedderTracingSubclass(map, object);
320 Map map, JSArrayBuffer object) {
321 object.MarkExtension();
322 return VisitEmbedderTracingSubclass(map, object);
327 Map map, JSDataView object) {
328 return VisitEmbedderTracingSubclass(map, object);
333 Map map, JSTypedArray object) {
334 return VisitEmbedderTracingSubclass(map, object);
399 // JSWeakRef points to a potentially dead object. We have to process
429 // WeakCell points to a potentially dead object or a dead unregister