summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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_);
}