cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Turkel (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3867) Fix for CXF-1816 causes startup performance regression
Date Tue, 03 Jan 2012 00:25:20 GMT

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

Joel Turkel commented on CXF-3867:
----------------------------------

It looks like the approach of using a META-INF/cxf/org.apache.cxf.JDKBugHacks.defaultUsesCaches
file to configure this feature requires the resource to be in the system classloader (because
the first line of JDKBugHacks.doHacks() sets the current thread context classloader to the
system classloader). Is this expected? It makes it harder to deploy the workaround in certain
environments.
                
> Fix for CXF-1816 causes startup performance regression
> ------------------------------------------------------
>
>                 Key: CXF-3867
>                 URL: https://issues.apache.org/jira/browse/CXF-3867
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2, 2.3, 2.4
>            Reporter: Joel Turkel
>            Assignee: Daniel Kulp
>             Fix For: 2.3.8, 2.4.5, 2.5.1
>
>
> The fix for CXF-1816 is causing a 50% startup performance regression for my application.
The problem stems from changing the default value for URL connection caching to false which
really slows down classloader performance. Perhaps CXF could make this workaround configurable
like Tomcat does with the urlCacheProtection setting?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message