Home
last modified time | relevance | path

Searched refs:allocation_observers_ (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/heap/cppgc/
Dstats-collector.cc19 DCHECK_EQ(allocation_observers_.end(), in RegisterObserver()
20 std::find(allocation_observers_.begin(), in RegisterObserver()
21 allocation_observers_.end(), observer)); in RegisterObserver()
22 allocation_observers_.push_back(observer); in RegisterObserver()
26 auto it = std::find(allocation_observers_.begin(), in UnregisterObserver()
27 allocation_observers_.end(), observer); in UnregisterObserver()
28 DCHECK_NE(allocation_observers_.end(), it); in UnregisterObserver()
29 allocation_observers_.erase(it); in UnregisterObserver()
Dstats-collector.h113 std::vector<AllocationObserver*> allocation_observers_; variable
126 for (AllocationObserver* observer : allocation_observers_) { in ForAllAllocationObservers()