@@ -0,0 +1,716 @@
+package com.splicemachine.concurrent;%0A%0Aimport com.google.common.collect.Sets;%0Aimport org.junit.Test;%0A%0Aimport java.util.Set;%0Aimport java.util.concurrent.locks.ReadWriteLock;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class LongStripedSynchronizerTest %7B%0A%0A    @Test%0A    public void stripedReadWriteLock() %7B%0A        // given%0A        LongStripedSynchronizer%3CReadWriteLock%3E striped = LongStripedSynchronizer.stripedReadWriteLock(128, false);%0A%0A        // when%0A        Set%3CReadWriteLock%3E locks = Sets.newIdentityHashSet();%0A        for (long i = 0; i %3C 2000; i++) %7B%0A            ReadWriteLock e = striped.get(i);%0A            locks.add(e);%0A        %7D%0A%0A        // then%0A        assertEquals(128, locks.size());%0A    %7D%0A%0A%7D

add test