Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15274

StampedLock#unlockRead blockhound exclusion

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The PR has been able to uncover a very strange blocking issue that is mentioned in its comments. Basically if two threads are both trying to unlock/lock the read lock at the same time one may call Thread.onSpinWait to let the other win and then continue. Blockhound sees this as blocking, and thus we should add an exclusion for StampedLock#tryDecReaderOverflow method.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: