public SharedObjectFactory(int initialLogSize) {  this.logSize = initialLogSize; this.hashMask = hashMask(); this.table = new Entry[hashSize()];   this.tableSize = new int[hashSize()]; this.initialCapacity = hashSize(); this.loadFactor = 3.0f;   this.maxThreshold = (int) (hashSize() * loadFactor); this.minThreshold = 0;
public SharedObjectFactory() { this(10);
  public SharedObjectFactory(int initialLogSize) {    this.logSize = initialLogSize;    this.hashMask = hashMask();    this.table = new Entry[hashSize()];    // for statistics    this.tableSize = new int[hashSize()];    this.initialCapacity = hashSize();    this.loadFactor = 3.0f; //0.75f;    //this.loadFactor = 0.75f;    this.maxThreshold = (int) (hashSize() * loadFactor);    this.minThreshold = 0;  }