public int getNumLocks() {
    return mNumLocks;
  }
@Test
  public void testConstruct() {
    create(1023, 128);
    assertEquals(128, mLocks.getNumLocks());

    create(1023, 127);
    assertEquals(128, mLocks.getNumLocks());

    create(513, 65);
    assertEquals(128, mLocks.getNumLocks());
  }