Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 43889 invoked from network); 20 Nov 2008 10:11:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Nov 2008 10:11:35 -0000 Received: (qmail 72730 invoked by uid 500); 20 Nov 2008 10:11:44 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 72633 invoked by uid 500); 20 Nov 2008 10:11:43 -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 72624 invoked by uid 99); 20 Nov 2008 10:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 02:11:43 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2008 10:10:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AACBA234C29A for ; Thu, 20 Nov 2008 02:10:44 -0800 (PST) Message-ID: <840122235.1227175844698.JavaMail.jira@brutus> Date: Thu, 20 Nov 2008 02:10:44 -0800 (PST) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4039) [classlib][luni] Socket implementation is too slow In-Reply-To: <7614861.1180962037172.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-4039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison reassigned HARMONY-4039: ------------------------------------ Assignee: Tim Ellison > [classlib][luni] Socket implementation is too slow > -------------------------------------------------- > > Key: HARMONY-4039 > URL: https://issues.apache.org/jira/browse/HARMONY-4039 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Boris Kuznetsov > Assignee: Tim Ellison > Attachments: patch.txt, test.java > > > I noticed that Harmony classlib works too slowly with MySQL (both on DRLVM and Jrockit). > The reason is the socket implementation: availableStreamImpl uses 1 ms timeout for hysock_select_read(). > It leads to 0.015 sec wait on select call for every available(). > Here are the test which demonstrate the problem and proposed patch. > harmony-jre-r533500\bin\java test > estimatedTime 15625 > After patch applying: > java test > estimatedTime 10 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.