You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2009/07/13 15:23:15 UTC

[jira] Resolved: (HARMONY-6265) [classlib][luni] Improve the performance of HashMap

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

Tim Ellison resolved HARMONY-6265.
----------------------------------

    Resolution: Fixed

The second patch has been applied to the LUNI module at repo revision r793579.

Please take a look and see if you agree with this resolution.  Feel free to re-open this issue (or create a new one) if there are further improvements to be made.


> [classlib][luni] Improve the performance of HashMap 
> ----------------------------------------------------
>
>                 Key: HARMONY-6265
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6265
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>    Affects Versions: 5.0M10
>            Reporter: Jim Yu
>            Assignee: Tim Ellison
>             Fix For: 5.0M11
>
>         Attachments: harmony-6265-v2.patch, HARMONY-6265.diff
>
>
> Currently, Proxy.isProxyClass is used in findNonNullKeyEntry method to judge whether a key object is a proxy object or not. However, that will degrade the performance of HashMap since isProxyClass method is synchronized. Actually,  Proxy.isProxyClass can be removed if we use an improved solution to support proxy object as the key.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.