harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regis Xu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6328) [classlib][nio] optimize SocketChannel.write(ByteBuffer[], int, int) by writev
Date Wed, 02 Sep 2009 02:08:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Regis Xu updated HARMONY-6328:

    Attachment: HARMONY-6328.diff

This patch add a new method writevDirect to INetworkSystem, and only implement native code
on Linux, Windows side code will implement soon.

> [classlib][nio] optimize SocketChannel.write(ByteBuffer[], int, int) by writev
> ------------------------------------------------------------------------------
>                 Key: HARMONY-6328
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6328
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M11
>            Reporter: Regis Xu
>         Attachments: HARMONY-6328.diff
> SocketChannel.write(ByteBuffer[], int, int) can be optimized by using writev, which can
write an array of buffer to socket without any stage buffer. If all passed in ByteBuffer is
direct buffer, they can be passed to system call directly without any copies.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message