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/04/18 00:07:23 UTC
[jira] Created: (HARMONY-5761) [classlib][luni][performance]
j.u.WeakHashMap arithmetic improvements
[classlib][luni][performance] j.u.WeakHashMap arithmetic improvements
---------------------------------------------------------------------
Key: HARMONY-5761
URL: https://issues.apache.org/jira/browse/HARMONY-5761
Project: Harmony
Issue Type: Sub-task
Reporter: Aleksey Shipilev
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5761) [classlib][luni][performance]
j.u.WeakHashMap arithmetic improvements
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Shipilev updated HARMONY-5761:
--------------------------------------
Attachment: cl-weakhashmap-ariph-rc1.patch
cl-weakhashmap-ariph-rc1.patch
Patch guarantees WeakHashMap size to be 2^k, and then moves "(x) % length" operations to "(x) & (length - 1)"
LUNI JUnit tests are correct.
> [classlib][luni][performance] j.u.WeakHashMap arithmetic improvements
> ---------------------------------------------------------------------
>
> Key: HARMONY-5761
> URL: https://issues.apache.org/jira/browse/HARMONY-5761
> Project: Harmony
> Issue Type: Sub-task
> Reporter: Aleksey Shipilev
> Attachments: cl-weakhashmap-ariph-rc1.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-5761) [classlib][luni][performance]
j.u.WeakHashMap arithmetic improvements
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Shipilev updated HARMONY-5761:
--------------------------------------
Attachment: cl-weakhashmap-ariph-rc2.patch
cl-weakhashmap-ariph-rc2.patch
Patch cleaned up upon the discussion on dev-list.
JUnit tests were not re-runned as patch does not differ significantly with RC1.
> [classlib][luni][performance] j.u.WeakHashMap arithmetic improvements
> ---------------------------------------------------------------------
>
> Key: HARMONY-5761
> URL: https://issues.apache.org/jira/browse/HARMONY-5761
> Project: Harmony
> Issue Type: Sub-task
> Reporter: Aleksey Shipilev
> Attachments: cl-weakhashmap-ariph-rc1.patch, cl-weakhashmap-ariph-rc2.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-5761) [classlib][luni][performance]
j.u.WeakHashMap arithmetic improvements
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590221#action_12590221 ]
Aleksey Shipilev commented on HARMONY-5761:
-------------------------------------------
RC1 patch gives +5% to MT/SerialBench.
Presumably, it gives the boost everywhere across WeakHashMap users.
> [classlib][luni][performance] j.u.WeakHashMap arithmetic improvements
> ---------------------------------------------------------------------
>
> Key: HARMONY-5761
> URL: https://issues.apache.org/jira/browse/HARMONY-5761
> Project: Harmony
> Issue Type: Sub-task
> Reporter: Aleksey Shipilev
> Attachments: cl-weakhashmap-ariph-rc1.patch
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.