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

Remove the synchronization on JChannel.class in JChannel.init

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.5.2, 3.6
    • Labels:
      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).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  belaban Bela Ban
                  Reporter:
                  dan.berindei Dan Berindei
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: