[jboss-jira] [JBoss JIRA] Commented: (JGRP-846) ExposedByteArrayOutputStream / ExposedDataOutputStream: override synchronized methods
Bela Ban (JIRA)
jira-events at lists.jboss.org
Tue Oct 28 04:28:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JGRP-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12435697#action_12435697 ]
Bela Ban commented on JGRP-846:
-------------------------------
Todo: change all uses of the synchronized versions to the unsynchronized ones
> ExposedByteArrayOutputStream / ExposedDataOutputStream: override synchronized methods
> -------------------------------------------------------------------------------------
>
> Key: JGRP-846
> URL: https://jira.jboss.org/jira/browse/JGRP-846
> Project: JGroups
> Issue Type: Task
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 2.6.6, 2.7
>
>
> Both of these classes have synchronized methods. However, JGroups (mainly in TP) locks an output stream (both for single messages and in the bundler), so we don't need synchronized methods.
> SOLUTION: overwrite the synchronized methods with unsynchronized methods in ExposedXXXOutputStream.
> The perf.Test shows an increase of perf from 95'000 1K messages/sec/node to 99'000 !
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list