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

yuexiaojun updated HTTPCORE-350:
--------------------------------

    Attachment: loadversion.patch
                image2013-9-16 9-49-4.png
                image2013-9-15 12-57-20.png
                image2013-9-15 12-55-55.png

chenged source file ;
                
> improve httpcore  perfomence and reduce memory usage
> ----------------------------------------------------
>
>                 Key: HTTPCORE-350
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-350
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.2.5, 4.3
>         Environment: all platform
>            Reporter: yuexiaojun
>              Labels: patch
>         Attachments: image2013-9-15 12-55-55.png, image2013-9-15 
> 12-57-20.png, image2013-9-16 9-49-4.png, loadversion.patch
>
>
> when I new  DefaultHttpClient instance without defaultParams  and then 
> getParams,It will loadVersionInfo  by classloader from jar file 
> everytime,this operation is slowly and unworthy; So I add a hashmap to cache 
> versioninfo at org.apache.http.util.VersionInfo#loadVersionInfo and read the 
> version only first time ;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to