public void invalidateAndUnmap(ByteBuffer... bufs) throws IOException {
  if (cleaner != null) {
    invalidated=true;
    barrier.lazySet(0);
    Thread.yield();
    for (    ByteBuffer b : bufs) {
      cleaner.freeBuffer(resourceDescription,b);
    }
  }
}

public void invalidateAndUnmap ( ByteBuffer ... bufs ) throws IOException { if ( cleaner != null ) { invalidated = true ; barrier . lazySet ( 0 ) ; Thread . yield ( ) ; for ( ByteBuffer b : bufs ) { cleaner . freeBuffer ( resourceDescription , b ) ; } } }
invalidates this guard and unmaps ( if supported ) .
