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

Remove the synchronization on JChannel.class in JChannel.init

    XMLWordPrintable

Details

    • Task
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 3.5.1
    • 3.5.2, 3.6
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: