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

StampedLock#unlockRead blockhound exception

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 https://github.com/infinispan/infinispan/pull/11432#issuecomment-1781737604. 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: