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

Michael Newcomb (JIRA) jira-events at lists.jboss.org
Mon May 21 12:02:52 EDT 2007


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: Bug
            Reporter: Michael Newcomb
         Assigned To: Bela Ban


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