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/05/22 08:27:55 UTC
[jira] Closed: (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:all-tabpanel ]
Aleksey Shipilev closed HARMONY-5718.
-------------------------------------
Resolution: Duplicate
Duplicate of HARMONY-5771
> [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, cl-identityhashmap-rc2.patch, cl-identityhashmap-rc3.patch, cl-identityhashmap-rc4.patch, cl-identityhashmap-rc5.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.