Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1887

Remove the synchronization on JChannel.class in JChannel.init

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 3.5.2, 3.6
    • 3.5.1
    • None

      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).

              rhn-engineering-bban Bela Ban
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: