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: [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]