[infinispan-issues] [JBoss JIRA] (ISPN-8491) Add streaming variant of off heap to not create byte[] instances

William Burns (JIRA) issues at jboss.org
Wed Nov 8 16:24:00 EST 2017


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

William Burns commented on ISPN-8491:
-------------------------------------

This is only doable for custom version or metadata, which is lower on priority atm.

> Add streaming variant of off heap to not create byte[] instances
> ----------------------------------------------------------------
>
>                 Key: ISPN-8491
>                 URL: https://issues.jboss.org/browse/ISPN-8491
>             Project: Infinispan
>          Issue Type: Sub-task
>          Components: Off Heap
>            Reporter: William Burns
>             Fix For: 9.2.0.Final
>
>
> Currently off heap has to create a byte[] to copy memory from off heap. This is a waste of CPU and memory to do so. Instead we should have a streaming variant Output that the GlobalMarshaller can use that doesn't need all of this unnecessary copying. Unfortunately GlobalMarshaller is currently internally hard coded to require the usage of byte[] so we would have to tweak some code there as well to allow this.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list