Lines Matching refs:heap
217 Heap* heap, HeapObject* object, Address entry_address) { in VisitCodeEntry() argument
219 heap->mark_compact_collector()->RecordCodeEntrySlot(object, entry_address, in VisitCodeEntry()
221 StaticVisitor::MarkObject(heap, code); in VisitCodeEntry()
227 Heap* heap, RelocInfo* rinfo) { in VisitEmbeddedPointer() argument
231 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, object); in VisitEmbeddedPointer()
236 StaticVisitor::MarkObject(heap, object); in VisitEmbeddedPointer()
242 void StaticMarkingVisitor<StaticVisitor>::VisitCell(Heap* heap, in VisitCell() argument
247 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, cell); in VisitCell()
249 StaticVisitor::MarkObject(heap, cell); in VisitCell()
255 void StaticMarkingVisitor<StaticVisitor>::VisitDebugTarget(Heap* heap, in VisitDebugTarget() argument
261 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, target); in VisitDebugTarget()
262 StaticVisitor::MarkObject(heap, target); in VisitDebugTarget()
267 void StaticMarkingVisitor<StaticVisitor>::VisitCodeTarget(Heap* heap, in VisitCodeTarget() argument
272 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, target); in VisitCodeTarget()
273 StaticVisitor::MarkObject(heap, target); in VisitCodeTarget()
278 Heap* heap, RelocInfo* rinfo) { in VisitCodeAgeSequence() argument
283 heap->mark_compact_collector()->RecordRelocSlot(host, rinfo, target); in VisitCodeAgeSequence()
284 StaticVisitor::MarkObject(heap, target); in VisitCodeAgeSequence()
306 Heap* heap = map->GetHeap(); in VisitMap() local
311 map_object->ClearCodeCache(heap); in VisitMap()
317 MarkMapContents(heap, map_object); in VisitMap()
320 heap, object, in VisitMap()
329 Heap* heap = map->GetHeap(); in VisitWeakCell() local
346 weak_cell->set_next(heap->encountered_weak_cells(), in VisitWeakCell()
348 heap->set_encountered_weak_cells(weak_cell); in VisitWeakCell()
358 Heap* heap = array->GetHeap(); in VisitTransitionArray() local
361 StaticVisitor::VisitPointer(heap, array, in VisitTransitionArray()
366 StaticVisitor::VisitPointer(heap, array, array->GetKeySlot(i)); in VisitTransitionArray()
370 if (array->next_link()->IsUndefined(heap->isolate())) { in VisitTransitionArray()
371 Heap* heap = map->GetHeap(); in VisitTransitionArray() local
372 array->set_next_link(heap->encountered_transition_arrays(), in VisitTransitionArray()
374 heap->set_encountered_transition_arrays(array); in VisitTransitionArray()
384 Heap* heap = map->GetHeap(); in VisitWeakCollection() local
389 if (weak_collection->next() == heap->undefined_value()) { in VisitWeakCollection()
390 weak_collection->set_next(heap->encountered_weak_collections()); in VisitWeakCollection()
391 heap->set_encountered_weak_collections(weak_collection); in VisitWeakCollection()
404 heap->mark_compact_collector()->RecordSlot(object, slot, obj); in VisitWeakCollection()
405 StaticVisitor::MarkObjectWithoutPush(heap, obj); in VisitWeakCollection()
414 Heap* heap = map->GetHeap(); in VisitCode() local
416 if (FLAG_age_code && !heap->isolate()->serializer_enabled()) { in VisitCode()
426 Heap* heap = map->GetHeap(); in VisitSharedFunctionInfo() local
428 if (shared->ic_age() != heap->global_ic_age()) { in VisitSharedFunctionInfo()
429 shared->ResetForNewContext(heap->global_ic_age()); in VisitSharedFunctionInfo()
431 MarkCompactCollector* collector = heap->mark_compact_collector(); in VisitSharedFunctionInfo()
433 if (IsFlushable(heap, shared)) { in VisitSharedFunctionInfo()
453 Heap* heap = map->GetHeap(); in VisitJSFunction() local
455 MarkCompactCollector* collector = heap->mark_compact_collector(); in VisitJSFunction()
457 if (IsFlushable(heap, function)) { in VisitJSFunction()
470 StaticVisitor::MarkObject(heap, function->shared()->code()); in VisitJSFunction()
477 void StaticMarkingVisitor<StaticVisitor>::MarkMapContents(Heap* heap, in MarkMapContents() argument
487 if (StaticVisitor::MarkObjectWithoutPush(heap, descriptors) && in MarkMapContents()
489 StaticVisitor::VisitPointers(heap, descriptors, in MarkMapContents()
496 StaticVisitor::VisitPointers(heap, descriptors, in MarkMapContents()
506 heap, map, HeapObject::RawField(map, Map::kPointerFieldsBeginOffset), in MarkMapContents()
511 inline static bool HasSourceCode(Heap* heap, SharedFunctionInfo* info) { in HasSourceCode() argument
512 Object* undefined = heap->undefined_value(); in HasSourceCode()
519 bool StaticMarkingVisitor<StaticVisitor>::IsFlushable(Heap* heap, in IsFlushable() argument
539 return IsFlushable(heap, shared_info); in IsFlushable()
545 Heap* heap, SharedFunctionInfo* shared_info) { in IsFlushable() argument
554 if (!(shared_info->is_compiled() && HasSourceCode(heap, shared_info))) { in IsFlushable()