Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 12895 invoked from network); 11 Sep 2007 10:21:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 10:21:53 -0000 Received: (qmail 13406 invoked by uid 500); 11 Sep 2007 10:21:46 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 13384 invoked by uid 500); 11 Sep 2007 10:21:46 -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 13375 invoked by uid 99); 11 Sep 2007 10:21:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 03:21:46 -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; Tue, 11 Sep 2007 10:21:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1CC09714208 for ; Tue, 11 Sep 2007 03:21:32 -0700 (PDT) Message-ID: <24200696.1189506092107.JavaMail.jira@brutus> Date: Tue, 11 Sep 2007 03:21:32 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-4685) [classlib][awt][startup] FontManager implementation without regex classes loading In-Reply-To: <16633252.1188299971099.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-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko resolved HARMONY-4685. -------------------------------------- Resolution: Fixed The patch has been applied. Please verify. > [classlib][awt][startup] FontManager implementation without regex classes loading > --------------------------------------------------------------------------------- > > Key: HARMONY-4685 > URL: https://issues.apache.org/jira/browse/HARMONY-4685 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Reporter: Naumova Natalya > Assignee: Alexey Petrenko > Attachments: FontManager.without.regex.with.StringBuilder.patch > > > org.apache.harmony.awt.gl.font.FontManager loads 67 classes from regex.jar. > We can avoid this to re-write using of java.lang.String.replaceAll method in it, by using indexOf and substring instead of. Then no regex classes are loaded during the startup of the most of swing application . Speedup on SwingHelloWorld is ~1%. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.