Lines Matching refs:heap
5 #include "src/profiler/heap-profiler.h"
9 #include "src/heap/combined-heap.h"
10 #include "src/heap/heap-inl.h"
13 #include "src/profiler/heap-snapshot-generator-inl.h"
14 #include "src/profiler/sampling-heap-profiler.h"
19 HeapProfiler::HeapProfiler(Heap* heap)
20 : ids_(new HeapObjectsMap(heap)),
77 reinterpret_cast<v8::Isolate*>(heap()->isolate()), v8_value, class_id,
89 HeapSnapshotGenerator generator(result, control, resolver, heap());
101 heap()->isolate()->debug()->feature_tracker()->Track(
114 heap(), names_.get(), sample_interval, stack_depth, flags));
140 heap()->AddHeapObjectAllocationTracker(this);
141 heap()->isolate()->debug()->feature_tracker()->Track(
156 heap()->RemoveHeapObjectAllocationTracker(this);
209 CombinedHeapObjectIterator iterator(heap(),
217 // Can't break -- kFilterUnreachable requires full heap traversal.
227 ids_.reset(new HeapObjectsMap(heap()));
232 Heap* HeapProfiler::heap() const { return ids_->heap(); }
234 Isolate* HeapProfiler::isolate() const { return heap()->isolate(); }
243 heap(), HeapObjectIterator::kFilterUnreachable);
257 // Convert the on-heap typed array into off-heap typed array, so that
264 heap()->CollectAllAvailableGarbage(GarbageCollectionReason::kHeapProfiler);
266 heap(), HeapObjectIterator::kFilterUnreachable);