morningman commented on a change in pull request #8605:
URL: https://github.com/apache/incubator-doris/pull/8605#discussion_r832983735
##########
File path: be/src/olap/lru_cache.cpp
##########
@@ -491,11 +488,13 @@ Cache::Handle* ShardedLRUCache::lookup(const CacheKey&
key) {
}
void ShardedLRUCache::release(Handle* handle) {
+ SCOPED_SWITCH_THREAD_LOCAL_MEM_TRACKER(_mem_tracker);
Review comment:
Can we add a metric counter for this SWITCH operation?
I want to know how many SWITCH may be called.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]