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

William Burns (JIRA) issues at jboss.org
Fri Nov 3 16:46:00 EDT 2017


William Burns created ISPN-8491:
-----------------------------------

             Summary: 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