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

Oleg Kalnichevski commented on HTTPCLIENT-1963:
-----------------------------------------------

[~yuyangw] Are you sure about that? {{MainClientExec}} is instantiated _once_ 
in a lifetime of an {{HttpClient}} instance at construction time.

Oleg 

> Making Log Object in MainClientExec Static
> ------------------------------------------
>
>                 Key: HTTPCLIENT-1963
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1963
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>            Reporter: Yuyang Wang
>            Priority: Major
>
> In MainClientExec constructor, the Log object is retrieved from LogFactory. 
> For clients which construct a lot of MainClientExec instances, it may improve 
> the performance by making the log reference static.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to