Lines Matching defs:heap

54 #include "gc/heap.h"
357 gc::Heap* const heap = runtime->GetHeap();
359 CHECK(!heap->HasBootImageSpace()) << "Runtime has image. We should use it.";
371 heap->IncrementDisableMovingGC(self);
375 heap->AllocNonMovableObject<true>(self, nullptr, class_class_size, VoidFunctor()))));
384 heap->DecrementDisableMovingGC(self);
404 runtime->SetSentinel(heap->AllocNonMovableObject<true>(self,
704 // Let the heap know some key offsets into java.lang.ref instances
939 gc::Heap* const heap = runtime->GetHeap();
940 std::vector<gc::space::ImageSpace*> spaces = heap->GetBootImageSpaces();
1022 runtime->SetSentinel(heap->AllocNonMovableObject<true>(
1237 gc::Heap* const heap = Runtime::Current()->GetHeap();
1351 // The image space is not yet added to the heap, avoid read barriers.
1394 DCHECK(klass == nullptr || heap->ObjectIsInBootImageSpace(klass))
1401 // The image space is not yet added to the heap, avoid read barriers.
1411 if (super_class != nullptr && !heap->ObjectIsInBootImageSpace(super_class)) {
1419 if (super_class != nullptr && !heap->ObjectIsInBootImageSpace(super_class)) {
1574 gc::Heap* const heap = runtime->GetHeap();
1652 heap->GetBootImageSpaces());
1737 heap->VisitObjects(SanityCheckObjectsCallback, nullptr);
2129 gc::Heap* heap = Runtime::Current()->GetHeap();
2132 heap->AllocObject<true>(self, java_lang_Class, class_size, visitor) :
2133 heap->AllocNonMovableObject<true>(self, java_lang_Class, class_size, visitor);
6675 // These are allocated on the heap to begin, we then transfer to linear alloc when we re-create
7039 // Maps from heap allocated miranda method to linear alloc miranda method.
7379 // Gaps are stored as a max heap which means that we must shuffle from largest to smallest