hg: bsd-port/bsd-port/jdk: . Use sendfile(2) if its available (which it is on MacOS X and FreeBSD).
glewis at eyesbeyond.com
glewis at eyesbeyond.com
Thu Mar 25 18:27:02 PDT 2010
Changeset: 62dc2d00133f
Author: Greg Lewis <glewis at eyesbeyond.com>
Date: 2010-03-24 22:19 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/62dc2d00133f
. Use sendfile(2) if its available (which it is on MacOS X and FreeBSD).
Otherwise return IOS_UNSUPPORTED and allow the calling code to handle
the fallback rather than using our own (buggy) read/write loop here.
Submitted by: Michael Allman <msa at allman.ms>
FreeBSD support by: Greg Lewis
! src/solaris/native/sun/nio/ch/FileChannelImpl.c
More information about the bsd-port-dev
mailing list