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:55:45 UTC
[jira] Created: (HARMONY-5928) [classlib][pack200][performance]
java.util.HashMap usage optimization
[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
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.
[jira] Updated: (HARMONY-5928) [classlib][pack200][performance]
java.util.HashMap usage optimization
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (HARMONY-5928) [classlib][pack200][performance]
java.util.HashMap usage optimization
Posted by "Sian January (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sian January reassigned HARMONY-5928:
-------------------------------------
Assignee: Sian January
> [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
> Assignee: Sian January
> Attachments: pack200-hashmap-v1.patch, pack200-hashmap-v2.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.
[jira] Updated: (HARMONY-5928) [classlib][pack200][performance]
java.util.HashMap usage optimization
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ 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-v2.patch
pack200-hashmap-v2.patch
- [from v1] GC side: sets initial capacities where possible
- [from v1] JIT side: breaks multi-typed hashmaps into several single-typed
- [from v1] JIT side: changes explicit HashMap calls to Map calls
- API side: eliminated HashMap in favor of array in ByteCodeForm
JUnit tests for pack200 are passed.
This patch gives +26% 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, pack200-hashmap-v2.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.
[jira] Resolved: (HARMONY-5928) [classlib][pack200][performance]
java.util.HashMap usage optimization
Posted by "Sian January (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sian January resolved HARMONY-5928.
-----------------------------------
Resolution: Fixed
Fix Version/s: 5.0M8
Patch applied at r689092. Please check that it was applied as you expected.
> [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
> Assignee: Sian January
> Fix For: 5.0M8
>
> Attachments: pack200-hashmap-v1.patch, pack200-hashmap-v2.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.
[jira] Closed: (HARMONY-5928) [classlib][pack200][performance]
java.util.HashMap usage optimization
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Shipilev closed HARMONY-5928.
-------------------------------------
Thanks, Sian.
Applied OK.
> [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
> Assignee: Sian January
> Fix For: 5.0M8
>
> Attachments: pack200-hashmap-v1.patch, pack200-hashmap-v2.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.