summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsabdenovch <[email protected]>2025-06-04 11:23:27 +0300
committersabdenovch <[email protected]>2025-06-04 11:42:25 +0300
commitc8560faff9312e58047583833d287c8f7a706697 (patch)
treeafc874c95b1d49bfc05645434c63c489950655b7
parent01d772faec498be55a6c1808d2169c0eedb47491 (diff)
Track execution stack count
commit_hash:129460119183c8f490ca05dc051023a9cd6c602a
-rw-r--r--yt/yt/core/concurrency/execution_stack.cpp2
1 files changed, 2 insertions, 0 deletions
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<TExecutionStack>();
+ TRefCountedTrackerFacade::AllocateInstance(cookie);
TRefCountedTrackerFacade::AllocateSpace(cookie, Size_);
}
TExecutionStackBase::~TExecutionStackBase()
{
auto cookie = GetRefCountedTypeCookie<TExecutionStack>();
+ TRefCountedTrackerFacade::FreeInstance(cookie);
TRefCountedTrackerFacade::FreeSpace(cookie, Size_);
}