]
Bela Ban resolved JGRP-1780.
----------------------------
Resolution: Done
UDP: remove invocation of DatagramSocket.isClosed()
---------------------------------------------------
Key: JGRP-1780
URL:
https://issues.jboss.org/browse/JGRP-1780
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Minor
Fix For: 3.5
In UDP, we check whether a datagram socket is closed by invoking
{{DatagramSocket.isClosed()}} for every message that's sent. Flight recorder showed
that this creates a bit of lock contention as isClosed() is synchronized.
SOLUTION:
* Simply remove the check. If a socket is closed we'll catch the exception anyway and
handle it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: