Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 71317 invoked from network); 7 Feb 2007 03:09:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 03:09:27 -0000 Received: (qmail 92322 invoked by uid 500); 7 Feb 2007 03:09:34 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 92220 invoked by uid 500); 7 Feb 2007 03:09:33 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 92210 invoked by uid 99); 7 Feb 2007 03:09:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 19:09:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 19:09:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2B2F47142CC for ; Tue, 6 Feb 2007 19:09:06 -0800 (PST) Message-ID: <20356460.1170817746174.JavaMail.jira@brutus> Date: Tue, 6 Feb 2007 19:09:06 -0800 (PST) From: "Paulex Yang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-3037) [classlib][nio]DatagramChannelImpl and SocketChannelImpl lack support for direct byte buffer In-Reply-To: <3775039.1169530369186.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paulex Yang closed HARMONY-3037. -------------------------------- Verified by Leo. > [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 > Assigned To: Paulex Yang > Attachments: patch-3037.zip, patch-3037.zip, patch-3037_2.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.