Lines Matching full:heap
112 Heap* heap = map->GetHeap();
118 heap,
122 heap,
250 Heap* heap, Address entry_address) {
252 heap->mark_compact_collector()->RecordCodeEntrySlot(entry_address, code);
253 StaticVisitor::MarkObject(heap, code);
259 Heap* heap, RelocInfo* rinfo) {
263 heap->mark_compact_collector()->RecordRelocSlot(rinfo, object);
265 StaticVisitor::MarkObject(heap, object);
272 Heap* heap, RelocInfo* rinfo) {
275 StaticVisitor::MarkObject(heap, cell);
281 Heap* heap, RelocInfo* rinfo) {
287 heap->mark_compact_collector()->RecordRelocSlot(rinfo, target);
288 StaticVisitor::MarkObject(heap, target);
294 Heap* heap, RelocInfo* rinfo) {
298 // when they might be keeping a Context alive, or when the heap is about
302 target->ic_state() == POLYMORPHIC || heap->flush_monomorphic_ics() ||
303 Serializer::enabled() || target->ic_age() != heap->global_ic_age())) {
307 heap->mark_compact_collector()->RecordRelocSlot(rinfo, target);
308 StaticVisitor::MarkObject(heap, target);
314 Heap* heap, RelocInfo* rinfo) {
318 heap->mark_compact_collector()->RecordRelocSlot(rinfo, target);
319 StaticVisitor::MarkObject(heap, target);
344 Heap* heap = map->GetHeap();
349 map_object->ClearCodeCache(heap);
355 MarkMapContents(heap, map_object);
357 StaticVisitor::VisitPointers(heap,
367 Heap* heap = map->GetHeap();
376 heap->mark_compact_collector()->RecordSlot(slot, slot, obj);
377 StaticVisitor::MarkObjectWithoutPush(heap, obj);
379 StaticVisitor::VisitPointer(heap, slot);
382 StaticVisitor::VisitPointers(heap,
391 Heap* heap = map->GetHeap();
401 heap->mark_compact_collector()->RecordSlot(slot, slot, obj);
402 StaticVisitor::MarkObjectWithoutPush(heap, obj);
404 StaticVisitor::VisitPointer(heap, slot);
407 StaticVisitor::VisitPointers(heap,
416 Heap* heap = map->GetHeap();
419 code->ClearTypeFeedbackCells(heap);
422 code->MakeOlder(heap->mark_compact_collector()->marking_parity());
424 code->CodeIterateBody<StaticVisitor>(heap);
431 Heap* heap = map->GetHeap();
433 if (shared->ic_age() != heap->global_ic_age()) {
434 shared->ResetForNewContext(heap->global_ic_age());
442 MarkCompactCollector* collector = heap->mark_compact_collector();
451 StaticVisitor::MarkObjectWithoutPush(heap, code_map);
453 if (IsFlushable(heap, shared)) {
462 VisitSharedFunctionInfoWeakCode(heap, object);
472 VisitSharedFunctionInfoStrongCode(heap, object);
479 Heap* heap = map->GetHeap();
486 heap,
495 Heap* heap = map->GetHeap();
497 MarkCompactCollector* collector = heap->mark_compact_collector();
499 if (IsFlushable(heap, function)) {
511 if (StaticVisitor::MarkObjectWithoutPush(heap, shared)) {
512 StaticVisitor::MarkObject(heap, shared->map());
513 VisitSharedFunctionInfoWeakCode(heap, shared);
516 VisitJSFunctionWeakCode(heap, object);
520 StaticVisitor::MarkObject(heap, function->shared()->code());
522 MarkInlinedFunctionsCode(heap, function->code());
526 VisitJSFunctionStrongCode(heap, object);
544 Heap* heap = map->GetHeap();
550 heap,
554 heap,
593 Heap* heap, Map* map) {
597 StaticVisitor::MarkObject(heap, HeapObject::cast(map->GetBackPointer()));
605 MarkTransitionArray(heap, transitions);
617 if (StaticVisitor::MarkObjectWithoutPush(heap, descriptors) &&
619 StaticVisitor::VisitPointers(heap,
626 StaticVisitor::VisitPointers(heap,
636 heap->mark_compact_collector()->RecordSlot(slot, slot, obj);
637 StaticVisitor::MarkObjectWithoutPush(heap, obj);
642 StaticVisitor::VisitPointers(heap,
650 Heap* heap, TransitionArray* transitions) {
651 if (!StaticVisitor::MarkObjectWithoutPush(heap, transitions)) return;
662 heap->mark_compact_collector()->RecordSlot(slot, slot, obj);
663 StaticVisitor::MarkObjectWithoutPush(heap, obj);
667 StaticVisitor::VisitPointer(heap, transitions->GetKeySlot(i));
674 Heap* heap, Code* code) {
685 StaticVisitor::MarkObject(heap, inlined->shared()->code());
696 inline static bool HasSourceCode(Heap* heap, SharedFunctionInfo* info) {
697 Object* undefined = heap->undefined_value();
705 Heap* heap, JSFunction* function) {
730 return IsFlushable(heap, shared_info);
736 Heap* heap, SharedFunctionInfo* shared_info) {
746 if (!(shared_info->is_compiled() && HasSourceCode(heap, shared_info))) {
767 // if there are still live activations (generator objects) on the heap.
794 Heap* heap, HeapObject* object) {
802 StaticVisitor::VisitPointers(heap, start_slot, end_slot);
808 Heap* heap, HeapObject* object) {
812 StaticVisitor::VisitPointer(heap, name_slot);
826 StaticVisitor::VisitPointers(heap, start_slot, end_slot);
832 Heap* heap, HeapObject* object) {
837 StaticVisitor::VisitPointers(heap, start_slot, end_slot);
839 VisitCodeEntry(heap, object->address() + JSFunction::kCodeEntryOffset);
847 StaticVisitor::VisitPointers(heap, start_slot, end_slot);
853 Heap* heap, HeapObject* object) {
858 StaticVisitor::VisitPointers(heap, start_slot, end_slot);
868 StaticVisitor::VisitPointers(heap, start_slot, end_slot);
897 void Code::CodeIterateBody(Heap* heap) {
909 heap,
912 heap,
915 heap,
918 heap,
923 it.rinfo()->template Visit<StaticVisitor>(heap);