code: public ServerCommit acquire(OperationEntry entry, ServerSessionContext session, long timestamp) {
      ServerCommit commit = pool.poll();
      if (commit == null) {
        commit = new ServerCommit(this, log);
      }
      commit.reset(entry, session, timestamp);
      return commit;
    }
docs: Acquires a commit from the pool.
  
  @param entry The entry for which to acquire the commit.
  @return The commit to acquire.