lordcheng10 edited a comment on pull request #3061:
URL: https://github.com/apache/bookkeeper/pull/3061#issuecomment-1046076041
The new changes are as follows: @eolivelli @merlimat
1.update parameters check;
2.fix newCapacity calculation when shrinking :
// shrink the hashmap
rehash((int) Math.max(size / mapFillFactor, capacity / shrinkFactor));
--
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]