protected List<KeyValueScanner> createList(int capacity) {
    return new ArrayList<>(capacity);
  }
This method is protected under {@link HStore#lock} read lock.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactingMemStore.java