harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naumova Natalya (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4685) [classlib][awt][startup] FontManager implementation without regex classes loading
Date Tue, 04 Sep 2007 05:04:58 GMT

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

Naumova Natalya  updated HARMONY-4685:
--------------------------------------

    Attachment: FontManager.without.regex_1.patch

The same patch, just added "//$NON-NLS-1$" for all strings. 

> [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.patch, FontManager.without.regex_1.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.


Mime
View raw message