hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Pouzac (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1538) Monitor contention at org.apache.http.impl.client.CloseableHttpResponseProxy.newProxy(HttpResponse original)
Date Mon, 11 Aug 2014 12:00:16 GMT

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

Lucas Pouzac commented on HTTPCLIENT-1538:
------------------------------------------

Sorry, I'm migrating several projects on the 4.3.5 version without httpclient using deprecated
classes. 
Indeed this problem corresponds to the use of AbstractHttpClient. I am being removed from
its use. 

But why CloseableHttpResponseProxy class is not deprecated? The "@since 4.3.0" also misled
me.

> 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: Minor
>              Labels: concurrency, performance
>         Attachments: monitor_contention_closeablehttpresponseproxy.png
>
>   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 [#15|https://github.com/apache/httpclient/pull/15]



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


Mime
View raw message