Lines Matching refs:Heap

151     reinterpret_cast<uint8_t*>(300 * MB - Heap::kDefaultNonMovingSpaceCapacity);
161 Heap::Heap(size_t initial_size, in Heap() function in art::gc::Heap
639 MemMap* Heap::MapAnonymousPreferredAddress(const char* name, in MapAnonymousPreferredAddress()
654 bool Heap::MayUseCollector(CollectorType type) const { in MayUseCollector()
658 space::MallocSpace* Heap::CreateMallocSpaceFromMemMap(MemMap* mem_map, in CreateMallocSpaceFromMemMap()
686 void Heap::CreateMainMallocSpace(MemMap* mem_map, size_t initial_size, size_t growth_limit, in CreateMainMallocSpace()
711 void Heap::ChangeAllocator(AllocatorType allocator) { in ChangeAllocator()
723 void Heap::DisableMovingGc() { in DisableMovingGc()
751 bool Heap::IsCompilingBoot() const { in IsCompilingBoot()
764 void Heap::IncrementDisableMovingGC(Thread* self) { in IncrementDisableMovingGC()
775 void Heap::DecrementDisableMovingGC(Thread* self) { in DecrementDisableMovingGC()
781 void Heap::IncrementDisableThreadFlip(Thread* self) { in IncrementDisableThreadFlip()
813 void Heap::DecrementDisableThreadFlip(Thread* self) { in DecrementDisableThreadFlip()
833 void Heap::ThreadFlipBegin(Thread* self) { in ThreadFlipBegin()
858 void Heap::ThreadFlipEnd(Thread* self) { in ThreadFlipEnd()
869 void Heap::UpdateProcessState(ProcessState old_process_state, ProcessState new_process_state) { in UpdateProcessState()
895 void Heap::CreateThreadPool() { in CreateThreadPool()
904 void Heap::VisitObjects(ObjectCallback callback, void* arg) { in VisitObjects()
938 void Heap::VisitObjectsPaused(ObjectCallback callback, void* arg) { in VisitObjectsPaused()
946 void Heap::VisitObjectsInternalRegionSpace(ObjectCallback callback, void* arg) { in VisitObjectsInternalRegionSpace()
970 void Heap::VisitObjectsInternal(ObjectCallback callback, void* arg) { in VisitObjectsInternal()
991 void Heap::MarkAllocStackAsLive(accounting::ObjectStack* stack) { in MarkAllocStackAsLive()
1002 void Heap::DeleteThreadPool() { in DeleteThreadPool()
1006 void Heap::AddSpace(space::Space* space) { in AddSpace()
1040 void Heap::SetSpaceAsDefault(space::ContinuousSpace* continuous_space) { in SetSpaceAsDefault()
1049 void Heap::RemoveSpace(space::Space* space) { in RemoveSpace()
1083 void Heap::DumpGcPerformanceInfo(std::ostream& os) { in DumpGcPerformanceInfo()
1147 void Heap::ResetGcPerformanceInfo() { in ResetGcPerformanceInfo()
1167 uint64_t Heap::GetGcCount() const { in GetGcCount()
1175 uint64_t Heap::GetGcTime() const { in GetGcTime()
1183 uint64_t Heap::GetBlockingGcCount() const { in GetBlockingGcCount()
1187 uint64_t Heap::GetBlockingGcTime() const { in GetBlockingGcTime()
1191 void Heap::DumpGcCountRateHistogram(std::ostream& os) const { in DumpGcCountRateHistogram()
1198 void Heap::DumpBlockingGcCountRateHistogram(std::ostream& os) const { in DumpBlockingGcCountRateHistogram()
1215 Heap::~Heap() { in ~Heap()
1241 space::ContinuousSpace* Heap::FindContinuousSpaceFromAddress(const mirror::Object* addr) const { in FindContinuousSpaceFromAddress()
1250 space::ContinuousSpace* Heap::FindContinuousSpaceFromObject(ObjPtr<mirror::Object> obj, in FindContinuousSpaceFromObject()
1262 space::DiscontinuousSpace* Heap::FindDiscontinuousSpaceFromObject(ObjPtr<mirror::Object> obj, in FindDiscontinuousSpaceFromObject()
1275 space::Space* Heap::FindSpaceFromObject(ObjPtr<mirror::Object> obj, bool fail_ok) const { in FindSpaceFromObject()
1283 space::Space* Heap::FindSpaceFromAddress(const void* addr) const { in FindSpaceFromAddress()
1298 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { in ThrowOutOfMemoryError()
1334 void Heap::DoPendingCollectorTransition() { in DoPendingCollectorTransition()
1358 void Heap::Trim(Thread* self) { in Trim()
1393 void Heap::TrimIndirectReferenceTables(Thread* self) { in TrimIndirectReferenceTables()
1409 void Heap::StartGC(Thread* self, GcCause cause, CollectorType collector_type) { in StartGC()
1420 void Heap::TrimSpaces(Thread* self) { in TrimSpaces()
1465 bool Heap::IsValidObjectAddress(const void* addr) const { in IsValidObjectAddress()
1472 bool Heap::IsNonDiscontinuousSpaceHeapAddress(const void* addr) const { in IsNonDiscontinuousSpaceHeapAddress()
1476 bool Heap::IsLiveObjectLocked(ObjPtr<mirror::Object> obj, in IsLiveObjectLocked()
1552 std::string Heap::DumpSpaces() const { in DumpSpaces()
1558 void Heap::DumpSpaces(std::ostream& stream) const { in DumpSpaces()
1575 void Heap::VerifyObjectBody(ObjPtr<mirror::Object> obj) { in VerifyObjectBody()
1596 void Heap::VerificationCallback(mirror::Object* obj, void* arg) { in VerificationCallback()
1597 reinterpret_cast<Heap*>(arg)->VerifyObjectBody(obj); in VerificationCallback()
1600 void Heap::VerifyHeap() { in VerifyHeap()
1602 GetLiveBitmap()->Walk(Heap::VerificationCallback, this); in VerifyHeap()
1605 void Heap::RecordFree(uint64_t freed_objects, int64_t freed_bytes) { in RecordFree()
1623 void Heap::RecordFreeRevoke() { in RecordFreeRevoke()
1636 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const { in GetRosAllocSpace()
1656 mirror::Object* Heap::AllocateInternalWithGc(Thread* self, in AllocateInternalWithGc()
1838 void Heap::SetTargetHeapUtilization(float target) { in SetTargetHeapUtilization()
1844 size_t Heap::GetObjectsAllocated() const { in GetObjectsAllocated()
1862 uint64_t Heap::GetObjectsAllocatedEver() const { in GetObjectsAllocatedEver()
1871 uint64_t Heap::GetBytesAllocatedEver() const { in GetBytesAllocatedEver()
1907 void Heap::CountInstances(const std::vector<Handle<mirror::Class>>& classes, in CountInstances()
1946 void Heap::GetInstances(VariableSizedHandleScope& scope, in GetInstances()
2001 void Heap::GetReferringObjects(VariableSizedHandleScope& scope, in GetReferringObjects()
2009 void Heap::CollectGarbage(bool clear_soft_references) { in CollectGarbage()
2015 bool Heap::SupportHomogeneousSpaceCompactAndCollectorTransitions() const { in SupportHomogeneousSpaceCompactAndCollectorTransitions()
2020 HomogeneousSpaceCompactResult Heap::PerformHomogeneousSpaceCompact() { in PerformHomogeneousSpaceCompact()
2091 void Heap::TransitionCollector(CollectorType collector_type) { in TransitionCollector()
2247 void Heap::ChangeCollector(CollectorType collector_type) { in ChangeCollector()
2308 ZygoteCompactingCollector(gc::Heap* heap, bool is_running_on_memory_tool) in ZygoteCompactingCollector()
2407 void Heap::UnBindBitmaps() { in UnBindBitmaps()
2419 void Heap::PreZygoteFork() { in PreZygoteFork()
2582 void Heap::FlushAllocStack() { in FlushAllocStack()
2587 void Heap::MarkAllocStack(accounting::ContinuousSpaceBitmap* bitmap1, in MarkAllocStack()
2609 void Heap::SwapSemiSpaces() { in SwapSemiSpaces()
2615 collector::GarbageCollector* Heap::Compact(space::ContinuousMemMapAllocSpace* target_space, in Compact()
2635 collector::GcType Heap::CollectGarbageInternal(collector::GcType gc_type, in CollectGarbageInternal()
2769 void Heap::LogGC(GcCause gc_cause, collector::GarbageCollector* collector) { in LogGC()
2804 void Heap::FinishGC(Thread* self, collector::GcType gc_type) { in FinishGC()
2829 void Heap::UpdateGcCountRateHistograms() { in UpdateGcCountRateHistograms()
2885 VerifyReferenceVisitor(Heap* heap, Atomic<size_t>* fail_count, bool verify_referent) in VerifyReferenceVisitor()
3029 Heap* const heap_;
3037 VerifyObjectVisitor(Heap* heap, Atomic<size_t>* fail_count, bool verify_referent) in VerifyObjectVisitor()
3066 Heap* const heap_;
3071 void Heap::PushOnAllocationStackWithInternalGC(Thread* self, ObjPtr<mirror::Object>* obj) { in PushOnAllocationStackWithInternalGC()
3086 void Heap::PushOnThreadLocalAllocationStackWithInternalGC(Thread* self, in PushOnThreadLocalAllocationStackWithInternalGC()
3110 size_t Heap::VerifyHeapReferences(bool verify_referents) { in VerifyHeapReferences()
3147 VerifyReferenceCardVisitor(Heap* heap, bool* failed) in VerifyReferenceCardVisitor()
3216 Heap* const heap_;
3222 explicit VerifyLiveStackReferences(Heap* heap) in VerifyLiveStackReferences()
3237 Heap* const heap_;
3241 bool Heap::VerifyMissingCardMarks() { in VerifyMissingCardMarks()
3260 void Heap::SwapStacks() { in SwapStacks()
3267 void Heap::RevokeAllThreadLocalAllocationStacks(Thread* self) { in RevokeAllThreadLocalAllocationStacks()
3278 void Heap::AssertThreadLocalBuffersAreRevoked(Thread* thread) { in AssertThreadLocalBuffersAreRevoked()
3289 void Heap::AssertAllBumpPointerSpaceThreadLocalBuffersAreRevoked() { in AssertAllBumpPointerSpaceThreadLocalBuffersAreRevoked()
3297 accounting::ModUnionTable* Heap::FindModUnionTableFromSpace(space::Space* space) { in FindModUnionTableFromSpace()
3305 accounting::RememberedSet* Heap::FindRememberedSetFromSpace(space::Space* space) { in FindRememberedSetFromSpace()
3313 void Heap::ProcessCards(TimingLogger* timings, in ProcessCards()
3365 void Heap::PreGcVerificationPaused(collector::GarbageCollector* gc) { in PreGcVerificationPaused()
3399 void Heap::PreGcVerification(collector::GarbageCollector* gc) { in PreGcVerification()
3406 void Heap::PrePauseRosAllocVerification(collector::GarbageCollector* gc ATTRIBUTE_UNUSED) { in PrePauseRosAllocVerification()
3413 void Heap::PreSweepingGcVerification(collector::GarbageCollector* gc) { in PreSweepingGcVerification()
3444 void Heap::PostGcVerificationPaused(collector::GarbageCollector* gc) { in PostGcVerificationPaused()
3467 void Heap::PostGcVerification(collector::GarbageCollector* gc) { in PostGcVerification()
3474 void Heap::RosAllocVerification(TimingLogger* timings, const char* name) { in RosAllocVerification()
3484 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Thread* self) { in WaitForGcToComplete()
3490 collector::GcType Heap::WaitForGcToCompleteLocked(GcCause cause, Thread* self) { in WaitForGcToCompleteLocked()
3529 void Heap::DumpForSigQuit(std::ostream& os) { in DumpForSigQuit()
3535 size_t Heap::GetPercentFree() { in GetPercentFree()
3539 void Heap::SetIdealFootprint(size_t max_allowed_footprint) { in SetIdealFootprint()
3548 bool Heap::IsMovableObject(ObjPtr<mirror::Object> obj) const { in IsMovableObject()
3559 collector::GarbageCollector* Heap::FindCollectorByGcType(collector::GcType gc_type) { in FindCollectorByGcType()
3569 double Heap::HeapGrowthMultiplier() const { in HeapGrowthMultiplier()
3577 void Heap::GrowForUtilization(collector::GarbageCollector* collector_ran, in GrowForUtilization()
3655 void Heap::ClampGrowthLimit() { in ClampGrowthLimit()
3672 void Heap::ClearGrowthLimit() { in ClearGrowthLimit()
3689 void Heap::AddFinalizerReference(Thread* self, ObjPtr<mirror::Object>* object) { in AddFinalizerReference()
3699 void Heap::RequestConcurrentGCAndSaveObject(Thread* self, in RequestConcurrentGCAndSaveObject()
3707 class Heap::ConcurrentGCTask : public HeapTask {
3712 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
3728 void Heap::ClearConcurrentGCRequest() { in ClearConcurrentGCRequest()
3732 void Heap::RequestConcurrentGC(Thread* self, GcCause cause, bool force_full) { in RequestConcurrentGC()
3741 void Heap::ConcurrentGC(Thread* self, GcCause cause, bool force_full) { in ConcurrentGC()
3765 class Heap::CollectorTransitionTask : public HeapTask {
3770 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
3776 void Heap::ClearPendingCollectorTransition(Thread* self) { in ClearPendingCollectorTransition()
3781 void Heap::RequestCollectorTransition(CollectorType desired_collector_type, uint64_t delta_time) { in RequestCollectorTransition()
3808 class Heap::HeapTrimTask : public HeapTask {
3812 gc::Heap* heap = Runtime::Current()->GetHeap(); in Run()
3818 void Heap::ClearPendingTrim(Thread* self) { in ClearPendingTrim()
3823 void Heap::RequestTrim(Thread* self) { in RequestTrim()
3852 void Heap::RevokeThreadLocalBuffers(Thread* thread) { in RevokeThreadLocalBuffers()
3868 void Heap::RevokeRosAllocThreadLocalBuffers(Thread* thread) { in RevokeRosAllocThreadLocalBuffers()
3878 void Heap::RevokeAllThreadLocalBuffers() { in RevokeAllThreadLocalBuffers()
3894 bool Heap::IsGCRequestPending() const { in IsGCRequestPending()
3898 void Heap::RunFinalization(JNIEnv* env, uint64_t timeout) { in RunFinalization()
3904 void Heap::RegisterNativeAllocation(JNIEnv* env, size_t bytes) { in RegisterNativeAllocation()
3966 void Heap::RegisterNativeFree(JNIEnv*, size_t bytes) { in RegisterNativeFree()
3983 size_t Heap::GetTotalMemory() const { in GetTotalMemory()
3987 void Heap::AddModUnionTable(accounting::ModUnionTable* mod_union_table) { in AddModUnionTable()
3992 void Heap::CheckPreconditionsForAllocObject(ObjPtr<mirror::Class> c, size_t byte_count) { in CheckPreconditionsForAllocObject()
4005 void Heap::AddRememberedSet(accounting::RememberedSet* remembered_set) { in AddRememberedSet()
4014 void Heap::RemoveRememberedSet(space::Space* space) { in RemoveRememberedSet()
4023 void Heap::ClearMarkedObjects() { in ClearMarkedObjects()
4037 void Heap::SetAllocationRecords(AllocRecordObjectMap* records) { in SetAllocationRecords()
4041 void Heap::VisitAllocationRecords(RootVisitor* visitor) const { in VisitAllocationRecords()
4050 void Heap::SweepAllocationRecords(IsMarkedVisitor* visitor) const { in SweepAllocationRecords()
4059 void Heap::AllowNewAllocationRecords() const { in AllowNewAllocationRecords()
4068 void Heap::DisallowNewAllocationRecords() const { in DisallowNewAllocationRecords()
4077 void Heap::BroadcastForNewAllocationRecords() const { in BroadcastForNewAllocationRecords()
4088 void Heap::CheckGcStressMode(Thread* self, ObjPtr<mirror::Object>* obj) { in CheckGcStressMode()
4116 void Heap::DisableGCForShutdown() { in DisableGCForShutdown()
4123 bool Heap::ObjectIsInBootImageSpace(ObjPtr<mirror::Object> obj) const { in ObjectIsInBootImageSpace()
4132 bool Heap::IsInBootImageOatFile(const void* p) const { in IsInBootImageOatFile()
4141 void Heap::GetBootImagesSize(uint32_t* boot_image_begin, in GetBootImagesSize()
4170 void Heap::SetAllocationListener(AllocationListener* l) { in SetAllocationListener()
4178 void Heap::RemoveAllocationListener() { in RemoveAllocationListener()
4186 void Heap::SetGcPauseListener(GcPauseListener* l) { in SetGcPauseListener()
4190 void Heap::RemoveGcPauseListener() { in RemoveGcPauseListener()
4194 mirror::Object* Heap::AllocWithNewTLAB(Thread* self, in AllocWithNewTLAB()
4278 const Verification* Heap::GetVerification() const { in GetVerification()