You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Naumova Natalya (JIRA)" <ji...@apache.org> on 2007/08/29 11:19:30 UTC

[jira] Commented: (HARMONY-4685) [classlib][awt][startup] FontManager implementation without regex classes loading

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

Naumova Natalya  commented on HARMONY-4685:
-------------------------------------------

This issue depends on Harmony-4679 issue: [startup] java.net.URL implementation without regex classes loading.

> [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 
>         Attachments: FontManager.without.regex.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.