You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Shipilev (JIRA)" <ji...@apache.org> on 2008/08/03 11:59:44 UTC

[jira] Updated: (HARMONY-5928) [classlib][pack200][performance] java.util.HashMap usage optimization

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

Aleksey Shipilev updated HARMONY-5928:
--------------------------------------

    Attachment: pack200-hashmap-v1.patch

pack200-hashmap-v1.patch
 - GC side: sets initial capacities where possible
 - JIT side: breaks multi-typed hashmaps into several single-typed 
 - JIT side: changes explicit HashMap calls to Map calls

JUnit tests for pack200 are passed.

This patch gives +16% boost to unpacking scenario on Sun 1.6.0_07 server, Gentoo Linux x86, P4 2.8 Ghz.

> [classlib][pack200][performance] java.util.HashMap usage optimization
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-5928
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5928
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>         Environment: Latest Pack200 (r682114)
>            Reporter: Aleksey Shipilev
>         Attachments: pack200-hashmap-v1.patch
>
>
> This issue is dedicated to optimization of java.util.HashMap usages.

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