This is an automated email from the ASF dual-hosted git repository.

jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new b9c5aa1  fix comment
     new b7b7982  Merge pull request #1163 from yetingsky/fix-comment
b9c5aa1 is described below

commit b9c5aa126f66e312bfc76f503bf83fbee3549879
Author: yeting <[email protected]>
AuthorDate: Wed Jul 15 01:34:23 2020 +0800

    fix comment
---
 src/butil/object_pool.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/butil/object_pool.h b/src/butil/object_pool.h
index 210e8ec..2267b29 100644
--- a/src/butil/object_pool.h
+++ b/src/butil/object_pool.h
@@ -48,7 +48,7 @@ template <typename T> struct ObjectPoolBlockMaxItem {
 
 // Free objects of each thread are grouped into a chunk before they are merged
 // to the global list. Memory size of objects in one free chunk will not 
exceed:
-//   min(ObjectPoolFreeChunkMaxItem<T>::value(),
+//   min(ObjectPoolFreeChunkMaxItem<T>::value() * sizeof(T),
 //       ObjectPoolBlockMaxSize<T>::value,
 //       ObjectPoolBlockMaxItem<T>::value * sizeof(T))
 template <typename T> struct ObjectPoolFreeChunkMaxItem {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to