Searched defs:heap (Results 1 - 25 of 39) sorted by last modified time

12

/art/runtime/
H A Djni_internal.cc1982 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1983 if (heap->IsMovableObject(chars)) {
2018 gc::Heap* heap = Runtime::Current()->GetHeap(); local
2019 if (heap->IsMovableObject(chars)) {
2022 heap->IncrementDisableMovingGC(soa.Self());
2033 gc::Heap* heap = Runtime::Current()->GetHeap(); local
2036 if (heap->IsMovableObject(s_chars)) {
2037 heap->DecrementDisableMovingGC(soa.Self());
2180 gc::Heap* heap = Runtime::Current()->GetHeap(); local
2181 if (heap
2649 gc::Heap* heap = Runtime::Current()->GetHeap(); local
[all...]
H A Druntime_android.cc49 gc::Heap* heap = runtime->GetHeap(); local
50 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
51 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: ";
52 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
H A Druntime_linux.cc312 gc::Heap* heap = runtime->GetHeap(); local
314 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
315 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: ";
316 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
H A Dclass_linker-inl.h22 #include "gc/heap-inl.h"
188 gc::Heap* const heap = Runtime::Current()->GetHeap(); member in class:art::gc
194 kMoveFieldArrays ? heap->GetCurrentAllocator() : heap->GetCurrentNonMovingAllocator());
H A Dclass_linker.cc41 #include "gc/heap.h"
207 gc::Heap* heap = Runtime::Current()->GetHeap(); local
209 heap->IncrementDisableMovingGC(self);
212 heap->AllocNonMovableObject<true>(self, nullptr,
222 heap->DecrementDisableMovingGC(self);
545 // Let the heap know some key offsets into java.lang.ref instances
612 gc::Heap* heap = Runtime::Current()->GetHeap(); local
614 if (heap->GetImageSpace() == nullptr) {
621 boot_image_option += heap->GetImageSpace()->GetImageLocation();
1603 gc::Heap* heap local
1887 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1930 gc::Heap* heap = Runtime::Current()->GetHeap(); local
[all...]
H A Ddebugger.cc690 VLOG(jdwp) << "Sending heap info to DDM";
695 VLOG(jdwp) << "Dumping heap to DDM";
700 VLOG(jdwp) << "Dumping native heap to DDM";
1025 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1026 heap->CollectGarbage(false);
1038 heap->CountInstances(classes, false, &counts[0]);
1044 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1046 heap->CollectGarbage(false);
1063 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1064 heap
4122 gc::Heap* heap = Runtime::Current()->GetHeap(); local
4432 gc::Heap* heap = Runtime::Current()->GetHeap(); local
[all...]
/art/runtime/mirror/
H A Darray-inl.h23 #include "gc/heap-inl.h"
141 gc::Heap* heap = Runtime::Current()->GetHeap(); local
146 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
152 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
H A Dclass-inl.h29 #include "gc/heap-inl.h"
556 gc::Heap* heap = Runtime::Current()->GetHeap(); local
562 heap->AllocObjectWithAllocator<kIsInstrumented, false>(self, this, this->object_size_,
565 heap->AddFinalizerReference(self, &obj);
H A Dclass.cc870 gc::Heap* heap = Runtime::Current()->GetHeap(); local
876 ? heap->AllocObject<true>(self, java_lang_Class_.Read(), new_length, visitor)
877 : heap->AllocNonMovableObject<true>(self, java_lang_Class_.Read(), new_length, visitor);
H A Dobject.cc29 #include "gc/heap.h"
85 gc::Heap* heap = Runtime::Current()->GetHeap(); local
91 heap->WriteBarrierArray(dest, 0, array->GetLength());
94 heap->WriteBarrierEveryFieldOf(dest);
97 heap->AddFinalizerReference(self, &dest);
126 gc::Heap* heap = Runtime::Current()->GetHeap(); local
132 if (heap->IsMovableObject(this)) {
133 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor);
135 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor);
H A Dobject_array-inl.h23 #include "gc/heap.h"
250 gc::Heap* heap = Runtime::Current()->GetHeap(); local
251 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() :
252 heap->GetCurrentNonMovingAllocator();
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc44 "hprof-heap-dump",
45 "hprof-heap-dump-streaming",
250 gc::Heap* heap = Runtime::Current()->GetHeap(); local
251 // We only want reachable instances, so do a GC. Heap::VisitObjects visits all of the heap
253 heap->CollectGarbage(false);
261 heap->CountInstances(classes, countAssignable, &count);
265 // We export the VM internal per-heap-space size/alloc/free metrics
266 // for the zygote space, alloc space (application heap), and the large
282 gc::Heap* heap = Runtime::Current()->GetHeap(); local
283 for (gc::space::ContinuousSpace* space : heap
[all...]
/art/oatdump/
H A Doatdump.cc1067 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1068 const std::vector<gc::space::ContinuousSpace*>& spaces = heap->GetContinuousSpaces();
1073 heap->FlushAllocStack();
1082 heap->RevokeAllThreadLocalAllocationStacks(self);
1101 heap->GetLargeObjectsSpace()->GetLiveBitmap()->Walk(ImageDumper::Callback, this);
1822 gc::Heap* heap = Runtime::Current()->GetHeap(); local
1823 gc::space::ImageSpace* image_space = heap->GetImageSpace();
/art/patchoat/
H A Dpatchoat.h27 #include "gc/heap.h"
65 MemMap* heap, off_t delta, TimingLogger* timings)
66 : image_(image), bitmap_(bitmap), heap_(heap),
69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta,
71 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap),
126 // change the heap.
145 // The heap we are patching. This is not modified.
147 // The heap we are patching. This is not modified.
64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
68 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
/art/runtime/base/
H A Dlogging.h306 bool heap; member in struct:art::LogVerbosity
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h153 gc::Heap* heap = Runtime::Current()->GetHeap(); local
155 return klass->Alloc<kInstrumented, false>(self, heap->GetCurrentAllocator());
224 gc::Heap* heap = Runtime::Current()->GetHeap(); local
227 heap->GetCurrentAllocator());
H A Dentrypoint_utils.cc90 gc::Heap* heap = Runtime::Current()->GetHeap(); local
92 // the heap switched the allocator type while we were suspended.
94 heap->GetCurrentAllocator());
109 gc::Heap* heap = Runtime::Current()->GetHeap(); local
111 // the heap switched the allocator type while we were suspended.
113 heap->GetCurrentAllocator());
/art/runtime/gc/accounting/
H A Dheap_bitmap.h60 explicit HeapBitmap(Heap* heap) : heap_(heap) {} argument
H A Dmod_union_table-inl.h31 explicit ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, argument
33 : ModUnionTableReferenceCache(name, heap, space) {}
H A Dmod_union_table.cc27 #include "gc/heap.h"
178 Heap* heap = mod_union_table_->GetHeap(); local
179 space::ContinuousSpace* from_space = heap->FindContinuousSpaceFromObject(obj, false);
180 space::ContinuousSpace* to_space = heap->FindContinuousSpaceFromObject(ref, false);
188 heap->DumpSpaces(LOG(INFO));
300 if (VLOG_IS_ON(heap)) {
H A Dmod_union_table.h56 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
58 heap_(heap),
100 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, argument
102 : ModUnionTable(name, heap, space) {}
136 explicit ModUnionTableCardCache(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
137 : ModUnionTable(name, heap, space) {}
H A Dremembered_set.h49 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
50 : name_(name), heap_(heap), space_(space) {}
/art/runtime/gc/collector/
H A Dconcurrent_copying.h28 explicit ConcurrentCopying(Heap* heap, bool generational = false, argument
30 : GarbageCollector(heap,
H A Dgarbage_collector.cc35 : duration_ns_(0), timings_("GC iteration timing logger", true, VLOG_IS_ON(heap)) {
54 GarbageCollector::GarbageCollector(Heap* heap, const std::string& name) argument
55 : heap_(heap),
H A Dmark_compact.cc26 #include "gc/heap.h"
70 MarkCompact::MarkCompact(Heap* heap, const std::string& name_prefix) argument
71 : GarbageCollector(heap, name_prefix + (name_prefix.empty() ? "" : " ") + "mark compact"),
137 // TODO: I don't think we should need heap bitmap lock to Get the mark bitmap.
553 // marked, put it on the appropriate list in the heap for later processing.

Completed in 315 milliseconds

12