[jboss-jira] [JBoss JIRA] (JGRP-1991) TCP_NIO2: copy on demand

Bela Ban (JIRA) issues at jboss.org
Thu Dec 3 08:35:00 EST 2015


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

Bela Ban updated JGRP-1991:
---------------------------
    Description: 
When TCP_NIO2 writes data, we always pass a copy of data of it, because of JGRP-1961 [1].
However, if we copied the data only on a *partial write* (full writes don't need a copy), then we could always pass data from reused buffers down to the transport.

[1] https://issues.jboss.org/browse/JGRP-1961

  was:
When TCP_NIO2 writes data, we always pass a copy of data of it, because of JGRP-xxx.
However, if we copied the data only on a *partial write* (full writes don't need a copy), then we could always pass data from reused buffers down to the transport.




> TCP_NIO2: copy on demand
> ------------------------
>
>                 Key: JGRP-1991
>                 URL: https://issues.jboss.org/browse/JGRP-1991
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.6.7
>
>
> When TCP_NIO2 writes data, we always pass a copy of data of it, because of JGRP-1961 [1].
> However, if we copied the data only on a *partial write* (full writes don't need a copy), then we could always pass data from reused buffers down to the transport.
> [1] https://issues.jboss.org/browse/JGRP-1961



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list