mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@673143 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db2451cfd9
commit
bdbced30d8
|
@ -542,6 +542,7 @@ public class HashIndex implements Index, HashIndexMBean {
|
||||||
while (capacity < newCapacity) {
|
while (capacity < newCapacity) {
|
||||||
capacity <<= 1;
|
capacity <<= 1;
|
||||||
}
|
}
|
||||||
|
newCapacity=capacity;
|
||||||
if (newCapacity != numberOfBins) {
|
if (newCapacity != numberOfBins) {
|
||||||
LOG.info("Resize hash bins " + this.name + " from " + numberOfBins + " to " + newCapacity);
|
LOG.info("Resize hash bins " + this.name + " from " + numberOfBins + " to " + newCapacity);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue