yiguolei commented on code in PR #52553:
URL: https://github.com/apache/doris/pull/52553#discussion_r2215089294
##########
be/src/vec/common/pod_array.h:
##########
@@ -265,6 +292,14 @@ class PODArrayBase : private boost::noncopyable,
realloc(allocated_bytes() * 2,
std::forward<TAllocatorParams>(allocator_params)...);
}
+ /// Virtual memory allocated from Allocator, usually only used by PODArray
itself.
+ size_t capacity_bytes() const {
Review Comment:
这个方法得是一个private的,不要让外部看到
--
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]