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] Updated: (HARMONY-6265) [classlib][luni] Improve the performance of HashMap
Date Mon, 13 Jul 2009 13:13:15 GMT

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

Tim Ellison updated HARMONY-6265:

    Attachment: harmony-6265-v2.patch


Here is a new patch with the tests that show proxy removal now working, and finding proxies
as values.  It re-introduces the use of areEqualKeys and areEqualValues and fixes them to
do the right thing.

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

View raw message