Searched refs:gc_epilogue_callbacks_ (Results 1 – 4 of 4) sorted by relevance
/third_party/node/deps/v8/src/heap/ |
D | local-heap.cc | 97 DCHECK(gc_epilogue_callbacks_.empty()); in ~LocalHeap() 414 DCHECK_EQ(std::find(gc_epilogue_callbacks_.begin(), in AddGCEpilogueCallback() 415 gc_epilogue_callbacks_.end(), callback_and_data), in AddGCEpilogueCallback() 416 gc_epilogue_callbacks_.end()); in AddGCEpilogueCallback() 417 gc_epilogue_callbacks_.push_back(callback_and_data); in AddGCEpilogueCallback() 424 auto it = std::find(gc_epilogue_callbacks_.begin(), in RemoveGCEpilogueCallback() 425 gc_epilogue_callbacks_.end(), callback_and_data); in RemoveGCEpilogueCallback() 426 *it = gc_epilogue_callbacks_.back(); in RemoveGCEpilogueCallback() 427 gc_epilogue_callbacks_.pop_back(); in RemoveGCEpilogueCallback() 431 for (auto callback_and_data : gc_epilogue_callbacks_) { in InvokeGCEpilogueCallbacksInSafepoint()
|
D | local-heap.h | 313 std::vector<std::pair<GCEpilogueCallback*, void*>> gc_epilogue_callbacks_; variable
|
D | heap.cc | 2576 for (const GCCallbackTuple& info : gc_epilogue_callbacks_) { in CallGCEpilogueCallbacks() 6231 DCHECK(gc_epilogue_callbacks_.end() == in AddGCEpilogueCallback() 6232 std::find(gc_epilogue_callbacks_.begin(), gc_epilogue_callbacks_.end(), in AddGCEpilogueCallback() 6234 gc_epilogue_callbacks_.emplace_back(callback, gc_type, data); in AddGCEpilogueCallback() 6240 for (size_t i = 0; i < gc_epilogue_callbacks_.size(); i++) { in RemoveGCEpilogueCallback() 6241 if (gc_epilogue_callbacks_[i].callback == callback && in RemoveGCEpilogueCallback() 6242 gc_epilogue_callbacks_[i].data == data) { in RemoveGCEpilogueCallback() 6243 gc_epilogue_callbacks_[i] = gc_epilogue_callbacks_.back(); in RemoveGCEpilogueCallback() 6244 gc_epilogue_callbacks_.pop_back(); in RemoveGCEpilogueCallback()
|
D | heap.h | 2260 std::vector<GCCallbackTuple> gc_epilogue_callbacks_; variable
|