harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5718) [classlib][luni][performance] j.u.IdentityHashMap ariphmetic improvements
Date Fri, 11 Apr 2008 21:12:04 GMT

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

Aleksey Shipilev updated HARMONY-5718:
--------------------------------------

             Component/s: Classlib
    Estimated Complexity: Moderate
             Description: 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.

> [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
>
> 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.


Mime
View raw message