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

StampedLock#unlockRead blockhound exception

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
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: