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] Commented: (HARMONY-6328) [classlib][nio] optimize SocketChannel.write(ByteBuffer[], int, int) by writev
Date Fri, 18 Sep 2009 07:44:57 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757030#action_12757030

Regis Xu commented on HARMONY-6328:

Final patch for this issue, combines all above patches and improvements discussed on dev list.

> [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, HARMONY-6328.final.diff, HARMONY-6328.v2.diff,
HARMONY-6328.v3.diff, test.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