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

Tristan Tarrant (Jira) issues at jboss.org
Wed Nov 28 18:34:10 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-8491:
----------------------------------
    Fix Version/s: 9.4.4.Final
                       (was: 9.4.3.Final)


> 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
>            Priority: Major
>             Fix For: 9.4.4.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.12.1#712002)


More information about the infinispan-issues mailing list