[
https://issues.apache.org/jira/browse/CXF-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557325#comment-14557325
]
Alessio Soldano commented on CXF-6421:
--------------------------------------
I've created a PR with the changes I've been testing on 3.0.x-fixes branch:
https://github.com/apache/cxf/pull/73 . The reason for the PR instead of direct
commits to master and branches is to let someone else review the changes first,
as the change set is quite big. I can of course prepare a proper patch for
master too.
The changes in the PR are granting a ~ 2% performance improvement on my local
JAX-WS client benchmark application.
> Slim Exchange map down
> ----------------------
>
> Key: CXF-6421
> URL: https://issues.apache.org/jira/browse/CXF-6421
> Project: CXF
> Issue Type: Improvement
> Components: Core
> Reporter: Alessio Soldano
>
> I've been experimenting a bit on slimming the Exchange map down; basically,
> Exchange currently store a bunch of stuff that is not strictly required
> either because there're already direct accessors the data (Bus, Service,
> Endpoint, Binding, BindingOperationInfo) or because the data can be easily
> retrieved using stuff that's already in the map (ServiceInfo, InterfaceInfo,
> BindingInfo).
> This is relevant because the Exchange map is copied into the Message context
> cache, so the slimmer it is the faster it's copied (and ofcourse we save
> memory).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)