[jboss-jira] [JBoss JIRA] (JGRP-1887) Remove the synchronization on JChannel.class in JChannel.init

Dan Berindei (JIRA) issues at jboss.org
Fri Oct 3 06:21:10 EDT 2014


Dan Berindei created JGRP-1887:
----------------------------------

             Summary: Remove the synchronization on JChannel.class in JChannel.init
                 Key: JGRP-1887
                 URL: https://issues.jboss.org/browse/JGRP-1887
             Project: JGroups
          Issue Type: Task
    Affects Versions: 3.5.1
            Reporter: Dan Berindei
            Assignee: Bela Ban
             Fix For: 3.5.2


{{JChannel.init(ProtocolCtackConfigurator)}} has a {{synchronized(Channel.class)}} block that doesn't seem necessary, as JChannel instances do not normally share resources.

This can cause serious delays in the Infinispan test suite, because we run many tests in parallel, each creating its own cluster. In some tests we also have a timeout for the test to create the JChannel (among other things), and these delays can lead to random failures (e.g. ISPN-4802).



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list