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


##########
be/src/olap/page_cache.h:
##########
@@ -37,33 +37,55 @@ namespace doris {
 
 class PageCacheHandle;
 
-template <typename TAllocator>
-class PageBase : private TAllocator, public LRUCacheValueBase {
+template <typename TAllocator, typename T>
+class MemoryTrackedPageBase : protected TAllocator, public LRUCacheValueBase {

Review Comment:
   这个类,为什么需要有Allocator 这个模板参数?



-- 
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-unsubscr...@doris.apache.org

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


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

Reply via email to