You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/02/18 07:24:55 UTC

[GitHub] [bookkeeper] lordcheng10 commented on a change in pull request #3061: Optimize memory:Support shrinking in ConcurrentLongLongPairHashMap

lordcheng10 commented on a change in pull request #3061:
URL: https://github.com/apache/bookkeeper/pull/3061#discussion_r809733512



##########
File path: bookkeeper-server/src/main/java/org/apache/bookkeeper/util/collections/ConcurrentLongLongPairHashMap.java
##########
@@ -75,26 +133,21 @@
         boolean test(long key1, long key2, long value1, long value2);
     }
 
-    public ConcurrentLongLongPairHashMap() {
-        this(DefaultExpectedItems);
-    }
-
-    public ConcurrentLongLongPairHashMap(int expectedItems) {
-        this(expectedItems, DefaultConcurrencyLevel);
-    }
-
-    public ConcurrentLongLongPairHashMap(int expectedItems, int concurrencyLevel) {
+    private ConcurrentLongLongPairHashMap(int expectedItems, int concurrencyLevel,

Review comment:
       OK




-- 
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: issues-unsubscribe@bookkeeper.apache.org

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