From c8560faff9312e58047583833d287c8f7a706697 Mon Sep 17 00:00:00 2001 From: sabdenovch Date: Wed, 4 Jun 2025 11:23:27 +0300 Subject: Track execution stack count commit_hash:129460119183c8f490ca05dc051023a9cd6c602a --- yt/yt/core/concurrency/execution_stack.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yt/yt/core/concurrency/execution_stack.cpp b/yt/yt/core/concurrency/execution_stack.cpp index 6c39fb10f77..c3e90809e84 100644 --- a/yt/yt/core/concurrency/execution_stack.cpp +++ b/yt/yt/core/concurrency/execution_stack.cpp @@ -46,12 +46,14 @@ TExecutionStackBase::TExecutionStackBase(size_t size) , Size_(RoundUpToPage(size)) { auto cookie = GetRefCountedTypeCookie(); + TRefCountedTrackerFacade::AllocateInstance(cookie); TRefCountedTrackerFacade::AllocateSpace(cookie, Size_); } TExecutionStackBase::~TExecutionStackBase() { auto cookie = GetRefCountedTypeCookie(); + TRefCountedTrackerFacade::FreeInstance(cookie); TRefCountedTrackerFacade::FreeSpace(cookie, Size_); } -- cgit v1.3