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

Reduce use of synchronized

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • 5.0.0.Final
    • None
    • None

    Description

      The synchronized keyword fares badly with virtual threads (project Loom). Contrary to java.util.concurrent.lock.Lock, synchronized can still block. This might change in the future, but for now, we should replace all uses of synchronized with Lock.lock()/unlock().

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: