sendfile is broken on solaris with -d64?
tigran.mkrtchyan at desy.de
Wed Dec 1 03:31:44 PST 2010
do you have a ticket number?
On 11/26/2010 04:41 PM, Alan Bateman wrote:
> Tigran Mkrtchyan wrote:
>> Dear NIO gurus,
>> we observed some weird behavior with sendfile on a solaris box with
>> 1.6.0_22 and 1.7.0
>> we notice, that with -d64 FileChannel.transferTo() method uses memory
>> mapped file instead of
>> using systems sendfile call.
> Thanks for the bug report. The 64-bit libsendfile is in /lib/64
> whereas this code was originally written to only attempt to load it
> from /usr/lib. Also with a 64-bit library the symbol is sendfilev64.
> I'm kinda surprised it hasn't been noticed before. I'll create a bug
> for this.
More information about the nio-dev