[infinispan-issues] [JBoss JIRA] (ISPN-7412) Expand usage of MarshallUtil for marshalling collections internally

Galder Zamarreño (JIRA) issues at jboss.org
Fri Jan 27 05:36:00 EST 2017


    [ https://issues.jboss.org/browse/ISPN-7412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13354302#comment-13354302 ] 

Galder Zamarreño commented on ISPN-7412:
----------------------------------------

Benefits:
* Less externalizers means less code to maintain and smaller lookup tables when trying to figure out how to marshall a particular type.
* By not relying on `writeObject`, table lookups are avoided making marshalling code faster to run.


> Expand usage of MarshallUtil for marshalling collections internally
> -------------------------------------------------------------------
>
>                 Key: ISPN-7412
>                 URL: https://issues.jboss.org/browse/ISPN-7412
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core, Marshalling
>            Reporter: Galder Zamarreño
>
> Some externalizers might still rely on calling writeObject() when trying to marshall collections. Make sure they use MarshallUtil instead to avoid extra cost. 
> Ideally, this should enable us to get rid of collection based externalizers in our internal externalizer collection. Although this might only achievable once user marshaller is in place (ISPN-7409)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list