public void getCompactableOplogs(List<CompactableOplog> l, int max) {
    synchronized (compactibleOverflowMap) {
      Iterator<OverflowOplog> itr = compactibleOverflowMap.values().iterator();
      while (itr.hasNext() && l.size() < max) {
        OverflowOplog oplog = itr.next();
        if (oplog.needsCompaction()) {
          l.add(oplog);
        }
      }
    }
  }
@param minSize the minimum size this oplog can be
geode-core/src/main/java/org/apache/geode/internal/cache/OverflowOplogSet.java