static void closeOut(OptimizedObjectOutputStream out){
  U.close(out,null);
  if (outPool != null) {
    boolean b=outPool.offer(out);
    assert b;
  }
 else {
    StreamHolder holder=holders.get();
    if (holder != null)     holder.releaseOut();
  }
}

static void closeOut ( OptimizedObjectOutputStream out ) { U . close ( out , null ) ; if ( outPool != null ) { boolean b = outPool . offer ( out ) ; assert b ; } else { StreamHolder holder = holders . get ( ) ; if ( holder != null ) holder . releaseOut ( ) ; } }
closes and releases output stream .
