private BitSet bitSet(int... setBits) {
    BitSet bitSet = new BitSet(BIT_SET_WIDTH);
    IntStream.of(setBits).forEach(bitSet::set);
    return bitSet;
  }
Tests of how the RegionVersionHolder maintains it's bitset under updates
geode-core/src/test/java/org/apache/geode/internal/cache/versions/RegionVersionHolderBitSetJUnitTest.java