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

Remove the synchronization on JChannel.class in JChannel.init

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 3.5.2, 3.6
    • 3.5.1
    • 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

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: JGRP

              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: