You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2008/02/28 07:37:51 UTC

[jira] Created: (HARMONY-5556) [drlvm][class_support] make icu4c dependency optional to reduce bundle size

[drlvm][class_support] make icu4c dependency optional to reduce bundle size
---------------------------------------------------------------------------

                 Key: HARMONY-5556
                 URL: https://issues.apache.org/jira/browse/HARMONY-5556
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
            Reporter: Alexey Varlamov
            Priority: Trivial


There is certain interest in application bundling with minimal size/working set; DRLVM can easily contribute here.
In particular, the most part in drlvm binaries take icu4c modules (~10 of 15 mb). Yet the main utilization of icu4c is highly optional, support for unicode identifiers in classfiles. 
So the idea is, do not link to icu4c directly but bind it in runtime as optional feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5556) [drlvm][class_support] make icu4c dependency optional to reduce bundle size

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575694#action_12575694 ] 

Mark Hindess commented on HARMONY-5556:
---------------------------------------

On Linux, it may be possible to replace the use of the ICU4C  u_isalpha and u_isalnum functions
with the "standard" iswalpha and iswalnum instead?  However, my brief testing shows that these give different answers.  As a fallback option though they may be good enough?


> [drlvm][class_support] make icu4c dependency optional to reduce bundle size
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5556
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>
> There is certain interest in application bundling with minimal size/working set; DRLVM can easily contribute here.
> In particular, the most part in drlvm binaries take icu4c modules (~10 of 15 mb). Yet the main utilization of icu4c is highly optional, support for unicode identifiers in classfiles. 
> So the idea is, do not link to icu4c directly but bind it in runtime as optional feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5556) [drlvm][class_support] make icu4c dependency optional to reduce bundle size

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess updated HARMONY-5556:
----------------------------------

    Attachment: icu-replacement.c

Here is a small replacement for the icuuc .so/dll.  Once installed in place of libicuuc.so.34 in jre/bin/default all of the other libic*.so* files can be removed - with some loss of compatibility.



> [drlvm][class_support] make icu4c dependency optional to reduce bundle size
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5556
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5556
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>         Attachments: icu-replacement.c
>
>
> There is certain interest in application bundling with minimal size/working set; DRLVM can easily contribute here.
> In particular, the most part in drlvm binaries take icu4c modules (~10 of 15 mb). Yet the main utilization of icu4c is highly optional, support for unicode identifiers in classfiles. 
> So the idea is, do not link to icu4c directly but bind it in runtime as optional feature.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.