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/12 23:44:05 UTC
[jira] Commented: (HARMONY-5718) [classlib][luni][performance]
j.u.IdentityHashMap ariphmetic improvements
[ https://issues.apache.org/jira/browse/HARMONY-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588327#action_12588327 ]
Aleksey Shipilev commented on HARMONY-5718:
-------------------------------------------
cl-identityhashmap-rc1.patch
...is not correct in sense of mask calculation. Don't consider it.
> [classlib][luni][performance] j.u.IdentityHashMap ariphmetic improvements
> -------------------------------------------------------------------------
>
> Key: HARMONY-5718
> URL: https://issues.apache.org/jira/browse/HARMONY-5718
> Project: Harmony
> Issue Type: Sub-task
> Components: Classlib
> Reporter: Aleksey Shipilev
> Attachments: cl-identityhashmap-rc1.patch
>
>
> Profiling and disassembly shows that much of the time on MT/ThreadLocalBench is spent on % and / operations in java.util.IdentityHashMap.(findIndex|getModuloHash). The dividers though are 2^k, so we can replace them with mask and shift operations.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.