You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/01/29 05:07:49 UTC

[jira] Updated: (HARMONY-3037) [classlib][nio]DatagramChannelImpl and SocketChannelImpl lack support for direct byte buffer

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

Leo Li updated HARMONY-3037:
----------------------------

    Description: 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.  (was: 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 does not differentiate whether the byte buffer is direct or not.)
        Summary: [classlib][nio]DatagramChannelImpl  and SocketChannelImpl lack support for direct byte buffer   (was: [classlib][nio]DatagramChannelImpl  and SocketChannelImpl lacks support for direct byte buffer )

> [classlib][nio]DatagramChannelImpl  and SocketChannelImpl lack support for direct byte buffer 
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3037
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3037
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Leo Li
>         Attachments: 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.