You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/11 13:33:11 UTC

[jira] [Commented] (HTTPCLIENT-1538) Monitor contention at org.apache.http.impl.client.CloseableHttpResponseProxy.newProxy(HttpResponse original)

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092687#comment-14092687 ] 

ASF GitHub Bot commented on HTTPCLIENT-1538:
--------------------------------------------

GitHub user lucaspouzac opened a pull request:

    https://github.com/apache/httpclient/pull/15

    HTTPCLIENT-1538 : monitor contention

    Remove contention on create proxyclass

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lucaspouzac/httpclient 4.3.x

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/httpclient/pull/15.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15
    
----
commit 0b6dde00822d9ce2d63847c1f150d54fde5a9768
Author: Lucas Pouzac <lp...@pagesjaunes.fr>
Date:   2014-08-11T11:29:18Z

    HTTPCLIENT-1538 : monitor contention

----


> Monitor contention at org.apache.http.impl.client.CloseableHttpResponseProxy.newProxy(HttpResponse original)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1538
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1538
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 4.3.5, 4.4 Alpha1
>            Reporter: Lucas Pouzac
>            Priority: Critical
>              Labels: concurrency, performance
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> CloseableHttpResponseProxy.newProxy() indirectly calls java.lang.reflect.Proxy.getProxyClass0(), which calls into JRE lib method causing monitor contention. See screen shot
> I create a Pull Request



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org