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

Investigate and possibly convert to StampedLock for OffHeap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.Final
    • None
    • Off Heap
    • None

      We currently use an array of ReentrantReadWriteLock entries to protect critical sections of a off heap map. We shouldn't require reentrancy for our various operations and thus we should be able to hopefully drop in replace these with the equivalent StampedLock write lock instances.

      Doug Lea mentions this is the fastest lock they have https://concurrency.markmail.org/thread/kfdv6tg3tnutl4ts

              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: