Lines Matching defs:heap
5 #include "src/heap/scavenger.h"
9 #include "src/heap/array-buffer-sweeper.h"
10 #include "src/heap/concurrent-allocator.h"
11 #include "src/heap/gc-tracer-inl.h"
12 #include "src/heap/gc-tracer.h"
13 #include "src/heap/heap-inl.h"
14 #include "src/heap/heap.h"
15 #include "src/heap/invalidated-slots-inl.h"
16 #include "src/heap/mark-compact-inl.h"
17 #include "src/heap/mark-compact.h"
18 #include "src/heap/memory-chunk-inl.h"
19 #include "src/heap/memory-chunk.h"
20 #include "src/heap/objects-visiting-inl.h"
21 #include "src/heap/remembered-set-inl.h"
22 #include "src/heap/scavenger-inl.h"
23 #include "src/heap/sweeper.h"
135 // We should never try to record off-heap slots.
158 V8_INLINE bool IsUnscavengedHeapObject(Heap* heap, Object object) {
164 V8_INLINE bool IsUnscavengedHeapObject(Heap* heap, HeapObject heap_object) {
169 bool IsUnscavengedHeapObjectSlot(Heap* heap, FullObjectSlot p) {
170 return IsUnscavengedHeapObject(heap, *p);
263 ScavengerCollector::ScavengerCollector(Heap* heap)
264 : isolate_(heap->isolate()), heap_(heap) {}
270 isolate_->AddCrashKey(v8::CrashKeyId::kDumpType, "heap");
540 // Optimize for memory usage near the heap limit.
553 ConcurrentAllocator* CreateSharedOldAllocator(Heap* heap) {
554 if (FLAG_shared_string_table && heap->isolate()->shared_isolate()) {
555 return new ConcurrentAllocator(nullptr, heap->shared_old_space());
561 Scavenger::Scavenger(ScavengerCollector* collector, Heap* heap, bool is_logging,
566 heap_(heap),
574 allocator_(heap, CompactionSpaceKind::kCompactionSpaceForScavenge),
577 is_incremental_marking_(heap->incremental_marking()->IsMarking()),
578 is_compacting_(heap->incremental_marking()->IsCompacting()),
592 heap()->incremental_marking()->atomic_marking_state()->IsBlack(target);
618 heap()->mark_compact_collector()->sweeper()->AddPage(
648 return CheckAndScavengeObject(heap(), slot);
702 // Keys in EphemeronHashTables must be heap objects.
725 // Keys in EphemeronHashTables must be heap objects.
752 heap()->MergeAllocationSitePretenuringFeedback(local_pretenuring_feedback_);
753 heap()->IncrementSemiSpaceCopiedObjectSize(copied_size_);
754 heap()->IncrementPromotedObjectsSize(promoted_size_);
762 auto insert_result = heap()->ephemeron_remembered_set_.insert(
808 : NewSpaceVisitor<ScavengeVisitor>(scavenger->heap()->isolate()),