You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/21 03:59:13 UTC

[GitHub] [doris] yiguolei commented on a diff in pull request #13469: [enhancement](memtracker) Fix Brpc mem count and refactored thread context macro

yiguolei commented on code in PR #13469:
URL: https://github.com/apache/doris/pull/13469#discussion_r1001339788


##########
be/src/runtime/memory/thread_mem_tracker_mgr.h:
##########
@@ -135,6 +146,10 @@ class ThreadMemTrackerMgr {
     // Frequent calls to unordered_map _untracked_mems[] in consume will degrade performance.
     int64_t _untracked_mem = 0;
     int64_t old_untracked_mem = 0;
+
+    bool _count_scope_mem = false;

Review Comment:
   This value is always false? 



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org