harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulex Yang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3037) [classlib][nio]DatagramChannelImpl and SocketChannelImpl lack support for direct byte buffer
Date Tue, 30 Jan 2007 14:35:34 GMT

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

Paulex Yang resolved HARMONY-3037.

    Resolution: Fixed

Leo, patch applied at revision r501403 with many modifications, including bug fixing, compiler
warning fixing, tidy up, etc. Thanks a lot for this enhancement, please verify the issue is
fully resolved as you expected.

> [classlib][nio]DatagramChannelImpl  and SocketChannelImpl lack support for direct byte
> ----------------------------------------------------------------------------------------------
>                 Key: HARMONY-3037
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3037
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Paulex Yang
>         Attachments: patch-3037.zip, patch-3037.zip
> As spec says, "Given a direct byte buffer, the Java virtual machine will make a best
effort to perform native I/O operations directly upon it. That is, it will attempt to avoid
copying the buffer's content to (or from) an intermediate buffer before (or after) each invocation
of one of the underlying operating system's native I/O operation". However, in Harmony nio,
DatagramChannelImpl and SocketChannelImpl do not differentiate whether the byte buffer is
direct or not.

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

View raw message