harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-6265) [classlib][luni] Improve the performance of HashMap
Date Mon, 13 Jul 2009 13:23:15 GMT

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


Mime
View raw message