Home
last modified time | relevance | path

Searched refs:AllocationObserver (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/heap/
Dallocation-observer.h17 class AllocationObserver; variable
26 V8_EXPORT_PRIVATE void AddAllocationObserver(AllocationObserver* observer);
27 V8_EXPORT_PRIVATE void RemoveAllocationObserver(AllocationObserver* observer);
59 AllocationObserverCounter(AllocationObserver* observer, size_t prev_counter, in AllocationObserverCounter()
65 AllocationObserver* observer_;
72 std::unordered_set<AllocationObserver*> pending_removed_;
84 class AllocationObserver {
86 explicit AllocationObserver(intptr_t step_size) : step_size_(step_size) { in AllocationObserver() function
89 virtual ~AllocationObserver() = default;
113 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
Dspaces.h35 class AllocationObserver; variable
132 virtual void AddAllocationObserver(AllocationObserver* observer);
134 virtual void RemoveAllocationObserver(AllocationObserver* observer);
504 AllocationObserver* observer) override;
506 AllocationObserver* observer) override;
Dspaces.cc241 void Space::AddAllocationObserver(AllocationObserver* observer) { in AddAllocationObserver()
245 void Space::RemoveAllocationObserver(AllocationObserver* observer) { in RemoveAllocationObserver()
340 void SpaceWithLinearArea::AddAllocationObserver(AllocationObserver* observer) { in AddAllocationObserver()
351 AllocationObserver* observer) { in RemoveAllocationObserver()
Dallocation-observer.cc13 void AllocationCounter::AddAllocationObserver(AllocationObserver* observer) { in AddAllocationObserver()
43 void AllocationCounter::RemoveAllocationObserver(AllocationObserver* observer) { in RemoveAllocationObserver()
Dstress-marking-observer.h13 class StressMarkingObserver : public AllocationObserver {
Dstress-marking-observer.cc13 : AllocationObserver(64), heap_(heap) {} in StressMarkingObserver()
Dstress-scavenge-observer.h13 class StressScavengeObserver : public AllocationObserver {
Dincremental-marking.h229 class Observer : public AllocationObserver {
232 : AllocationObserver(step_size), in Observer()
Dstress-scavenge-observer.cc17 : AllocationObserver(64), in StressScavengeObserver()
Dheap.h1443 AllocationObserver* observer, AllocationObserver* new_space_observer);
1448 AllocationObserver* observer, AllocationObserver* new_space_observer);
2116 AllocationObserver* stress_marking_observer_ = nullptr;
2208 std::unique_ptr<AllocationObserver> scavenge_task_observer_;
2209 std::unique_ptr<AllocationObserver> stress_concurrent_allocation_observer_;
Dfree-list.h24 class AllocationObserver; variable
Dheap.cc180 class ScavengeTaskObserver : public AllocationObserver {
183 : AllocationObserver(step_size), heap_(heap) {} in ScavengeTaskObserver()
907 AllocationObserver* observer, AllocationObserver* new_space_observer) { in AddAllocationObserversToAllSpaces()
922 AllocationObserver* observer, AllocationObserver* new_space_observer) { in RemoveAllocationObserversFromAllSpaces()
5111 class StressConcurrentAllocationObserver : public AllocationObserver {
5114 : AllocationObserver(1024), heap_(heap) {} in StressConcurrentAllocationObserver()
/external/v8/src/heap/cppgc/
Dstats-collector.h33 class AllocationObserver {
60 void RegisterObserver(AllocationObserver*);
61 void UnregisterObserver(AllocationObserver*);
113 std::vector<AllocationObserver*> allocation_observers_;
126 for (AllocationObserver* observer : allocation_observers_) { in ForAllAllocationObservers()
Dstats-collector.cc18 void StatsCollector::RegisterObserver(AllocationObserver* observer) { in RegisterObserver()
25 void StatsCollector::UnregisterObserver(AllocationObserver* observer) { in UnregisterObserver()
59 ForAllAllocationObservers([this](AllocationObserver* observer) { in AllocatedObjectSizeSafepointImpl()
86 ForAllAllocationObservers([marked_bytes](AllocationObserver* observer) { in NotifyMarkingCompleted()
Dheap-growing.cc31 : public StatsCollector::AllocationObserver {
/external/v8/src/profiler/
Dsampling-heap-profiler.h128 class Observer : public AllocationObserver {
133 : AllocationObserver(step_size), in Observer()