Lines Matching refs:heap
8 #include "src/heap/heap.h"
9 #include "src/heap/read-only-heap.h"
10 #include "src/heap/safepoint.h"
11 #include "src/heap/third-party/heap-api.h"
17 // This class allows iteration over the entire heap (Heap and ReadOnlyHeap). It
24 Heap* heap, HeapObjectIterator::HeapObjectsFiltering filtering =
34 V8_WARN_UNUSED_RESULT inline bool IsValidHeapObject(Heap* heap,
39 return ReadOnlyHeap::Contains(object) || heap->Contains(object) ||
40 heap->SharedHeapContains(object);
43 V8_WARN_UNUSED_RESULT inline bool IsValidCodeObject(Heap* heap,
49 return heap->ContainsCode(object);
51 return ReadOnlyHeap::Contains(object) || heap->ContainsCode(object);