You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Afremov (JIRA)" <ji...@apache.org> on 2007/06/06 13:56:26 UTC

[jira] Updated: (HARMONY-1016) [drlvm][kernel] Make interned strings garbage collectable

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

Pavel Afremov updated HARMONY-1016:
-----------------------------------

    Attachment: H1016-20070605.patch

Make interned string collectable by GC. 

Redesign previous patch to use compressed references when it's required, because current implementation of GC doesn't support enumeration of uncompressed reference if reference compression is turned on

So patch is available now.


> [drlvm][kernel] Make interned strings garbage collectable
> ---------------------------------------------------------
>
>                 Key: HARMONY-1016
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1016
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows/ia32
>            Reporter: Salikh Zakirov
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: 0001-Do-not-compress-interned-string-pointers.patch, 0002-Pure-java-string-intern.patch, 0003-optimized-weak-map-implementation-InternMap.patch, H1016-20070220.patch, H1016-20070220.patch, H1016-20070302.patch, H1016-20070605.patch
>
>
> Current implementation of interned strings is relying on a native string pool,
> which 1) keeps the strong references to strings,  2) keeps a utf-8 encoded string copy
> The attached patches provide pure-java implementation of interned string pool,
> and leave the native string pool with only caching purposes for constant pool strings
> (string literals).

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