Lines Matching defs:heap
23 #include "gc/heap.h"
74 // The heap or the collector can be null at startup. TODO: avoid the need for this null check.
75 gc::Heap* heap = Runtime::Current()->GetHeap();
76 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) {
183 gc::Heap* heap = Runtime::Current()->GetHeap();
184 if (heap == nullptr) {
185 // During startup, the heap can be null.
188 if (heap->CurrentCollectorType() != gc::kCollectorTypeCC) {
192 gc::collector::ConcurrentCopying* collector = heap->ConcurrentCopyingCollector();