[
https://issues.apache.org/jira/browse/CXF-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557865#comment-14557865
]
ASF GitHub Bot commented on CXF-6421:
-------------------------------------
GitHub user asoldano opened a pull request:
https://github.com/apache/cxf/pull/74
[CXF-6421] Slim Exchange map down
* Avoid storing Bus, Service, Endpoint, Binding, BindingOperationInfo into
Exchange's map as there're direct accessors for them
* Avoid storing ServiceInfo, InterfaceInfo, BindingInfo into Exchange's map
as they're easily retrieved through other stuff in the map
* misc minor cleanups
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/asoldano/cxf CXF-6421
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/74.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #74
----
commit fa62c71ebd325e4e343441ae6b25946878fed03d
Author: Alessio Soldano <[email protected]>
Date: 2015-05-24T22:07:34Z
[CXF-6421] Slim Exchange map down
* Avoid storing Bus, Service, Endpoint, Binding, BindingOperationInfo into
Exchange's map as there're direct accessors for them
* Avoid storing ServiceInfo, InterfaceInfo, BindingInfo into Exchange's map
as they're easily retrieved through other stuff in the map
* misc minor cleanups
----
> 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)