[enhancement] Refactor to improve the usability of MemTracker (step2) (#10823)

This commit is contained in:
Xinyi Zou
2022-07-21 17:11:28 +08:00
committed by GitHub
parent 5f6f35e886
commit 4960043f5e
316 changed files with 2145 additions and 4369 deletions

View File

@ -133,8 +133,7 @@ class BufferPool::Client {
public:
Client(BufferPool* pool, //TmpFileMgr::FileGroup* file_group,
const std::string& name, ReservationTracker* parent_reservation,
const std::shared_ptr<MemTracker>& mem_tracker, int64_t reservation_limit,
RuntimeProfile* profile);
int64_t reservation_limit, RuntimeProfile* profile);
~Client() {
DCHECK_EQ(0, num_pages_);