From 4faba3950eaca75ebba833684a28a617dd8e0785 Mon Sep 17 00:00:00 2001 From: robot-piglet Date: Fri, 22 May 2026 08:39:23 +0300 Subject: Intermediate changes commit_hash:92abcc958e94e1f5e6f5ed38e425f4f19ab1212a --- yt/yt/core/misc/concurrent_cache-inl.h | 13 ------------- yt/yt/core/misc/concurrent_cache.h | 2 -- 2 files changed, 15 deletions(-) diff --git a/yt/yt/core/misc/concurrent_cache-inl.h b/yt/yt/core/misc/concurrent_cache-inl.h index 1e7de2d40e5..28617f88fe6 100644 --- a/yt/yt/core/misc/concurrent_cache-inl.h +++ b/yt/yt/core/misc/concurrent_cache-inl.h @@ -206,19 +206,6 @@ typename TConcurrentCache::TInserter TConcurrentCache::GetInserter() return TInserter(this, std::move(primary)); } -template -size_t TConcurrentCache::GetSize() const -{ - auto head = Head_.Acquire(); - return head->Size.load(std::memory_order::relaxed); -} - -template -size_t TConcurrentCache::GetCapacity() const -{ - return Capacity_.load(std::memory_order::acquire); -} - template void TConcurrentCache::SetCapacity(size_t capacity) { diff --git a/yt/yt/core/misc/concurrent_cache.h b/yt/yt/core/misc/concurrent_cache.h index acac76e328c..d178bc8dd1e 100644 --- a/yt/yt/core/misc/concurrent_cache.h +++ b/yt/yt/core/misc/concurrent_cache.h @@ -90,8 +90,6 @@ public: TInserter GetInserter(); - size_t GetSize() const; - size_t GetCapacity() const; void SetCapacity(size_t capacity); bool IsHead(const TIntrusivePtr& head) const; -- cgit v1.3