[jboss-jira] [JBoss JIRA] Updated: (JGRP-517) TP.send() creates a new ByteArrayOutputStream for every message

Bela Ban (JIRA) jira-events at lists.jboss.org
Mon May 28 11:10:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JGRP-517?page=all ]

Bela Ban updated JGRP-517:
--------------------------

       Issue Type: Task  (was: Bug)
    Fix Version/s: 2.5

> TP.send() creates a new ByteArrayOutputStream for every message
> ---------------------------------------------------------------
>
>                 Key: JGRP-517
>                 URL: http://jira.jboss.com/jira/browse/JGRP-517
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Michael Newcomb
>         Assigned To: Bela Ban
>             Fix For: 2.5
>
>
> Every call to TP.send() results in a new ByteArrayOutputStream being created. This creates a large amount of garbage. Could TP.send() use a pool of ByteArrayOutputStreams or something to cut down on generated garbage?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list