Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/heap/
Dallocation-observer.cc34 DCHECK_EQ(current_counter_, next_counter_); in AddAllocationObserver()
35 next_counter_ = observer_next_counter; in AddAllocationObserver()
37 size_t missing_bytes = next_counter_ - current_counter_; in AddAllocationObserver()
38 next_counter_ = current_counter_ + in AddAllocationObserver()
59 current_counter_ = next_counter_ = 0; in RemoveAllocationObserver()
64 size_t left_in_step = observer_counter.next_counter_ - current_counter_; in RemoveAllocationObserver()
69 next_counter_ = current_counter_ + step_size; in RemoveAllocationObserver()
79 DCHECK_LT(allocated, next_counter_ - current_counter_); in AdvanceAllocationObservers()
91 DCHECK_GE(aligned_object_size, next_counter_ - current_counter_); in InvokeAllocationObservers()
101 if (aoc.next_counter_ - current_counter_ <= aligned_object_size) { in InvokeAllocationObservers()
[all …]
Dallocation-observer.h77 return next_counter_ - current_counter_; in NextBytes()
99 next_counter_(next_counter) {} in AllocationObserverCounter()
103 size_t next_counter_; member
111 size_t next_counter_ = 0; variable