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

ASF GitHub Bot commented on CXF-6421:
-------------------------------------

GitHub user asoldano opened a pull request:

    https://github.com/apache/cxf/pull/73

    [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 slim-maps

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/73.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 #73
    
----
commit d8205d0e60bb153a3d510d20a366cbdaf3a75831
Author: Alessio Soldano <[email protected]>
Date:   2015-05-22T15:55:34Z

    - 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)

Reply via email to