Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 22477 invoked from network); 3 Sep 2007 07:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 07:51:40 -0000 Received: (qmail 49685 invoked by uid 500); 3 Sep 2007 07:51:35 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 49589 invoked by uid 500); 3 Sep 2007 07:51:34 -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 49580 invoked by uid 99); 3 Sep 2007 07:51:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 00:51:34 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 03 Sep 2007 07:51:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 052C3714163 for ; Mon, 3 Sep 2007 00:51:19 -0700 (PDT) Message-ID: <7872057.1188805879007.JavaMail.jira@brutus> Date: Mon, 3 Sep 2007 00:51:19 -0700 (PDT) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4679) [startup] java.net.URL implementation without regex classes loading In-Reply-To: <18197351.1187961936482.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-4679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-4679. -------------------------------- Verified by Natalya > [startup] java.net.URL implementation without regex classes loading > ------------------------------------------------------------------- > > Key: HARMONY-4679 > URL: https://issues.apache.org/jira/browse/HARMONY-4679 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Reporter: Naumova Natalya > Assignee: Tim Ellison > Attachments: harmony-4679.patch, java.net.URL.without.regex.patch > > > When any class loads java.net.URL is used. However it loads ~60 classes from regex.jar. We can avoid this to re-write using of java.lang.String.matches method in net.URL, by using indexOf and substring instead of. Then no regex classes are loaded during the startup. Speedup on HelloWorld is ~7%. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.