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