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

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

Regis Xu resolved HARMONY-6328.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M12

patch applied at r816508.

> [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
>            Assignee: Regis Xu
>             Fix For: 5.0M12
>
>         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.


Mime
View raw message