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/03/23 22:05:24 UTC

[jira] Updated: (HARMONY-5636) [classlib][luni][performance] java.lang.reflect.Proxy cache should be unsynchronized

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

Aleksey Shipilev updated HARMONY-5636:
--------------------------------------

    Attachment: 0004-serial-isProxyClass.patch

0004-serial-isProxyClass.patch
Trying to make fastpath unsynchronized.

However, it works if most of the classes are proxied, while can introduce double lookup for non-proxied class. Need something more elegant here.

> [classlib][luni][performance] java.lang.reflect.Proxy cache should be unsynchronized
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5636
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5636
>             Project: Harmony
>          Issue Type: Improvement
>            Reporter: Aleksey Shipilev
>            Priority: Minor
>         Attachments: 0004-serial-isProxyClass.patch
>
>
> For now, the proxyCache in Proxy is synchronized, which lead to performance problems with accessing Proxy.isProxyClass() from multiple threads at once.

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