public synchronized void releaseCommitPoint(Long indexCommitGen){
  AtomicInteger reserveCount=savedCommits.get(indexCommitGen);
  if (reserveCount == null)   return;
  if (reserveCount.decrementAndGet() <= 0) {
    savedCommits.remove(indexCommitGen);
  }
}

public synchronized void releaseCommitPoint ( Long indexCommitGen ) { AtomicInteger reserveCount = savedCommits . get ( indexCommitGen ) ; if ( reserveCount == null ) return ; if ( reserveCount . decrementAndGet ( ) <= 0 ) { savedCommits . remove ( indexCommitGen ) ; } }
release a previously saved commit point
