diff options
| author | sabdenovch <[email protected]> | 2025-06-04 11:23:27 +0300 |
|---|---|---|
| committer | sabdenovch <[email protected]> | 2025-06-04 11:42:25 +0300 |
| commit | c8560faff9312e58047583833d287c8f7a706697 (patch) | |
| tree | afc874c95b1d49bfc05645434c63c489950655b7 | |
| parent | 01d772faec498be55a6c1808d2169c0eedb47491 (diff) | |
Track execution stack count
commit_hash:129460119183c8f490ca05dc051023a9cd6c602a
| -rw-r--r-- | yt/yt/core/concurrency/execution_stack.cpp | 2 |
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_); } |
