Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3417

Consider replacing ReentrantReadWriteLock with StampedLock

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      ReentrantReadWriteLock's are only the right solution when there is long hold time due to expensive I/O.

      It is expensive for readers.

      We should see if the lighter StampedLock can be used instead.

        Attachments

          Activity

            People

            • Assignee:
              Aron.tao Jiatao Tao
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: