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

Consider replacing ReentrantReadWriteLock with StampedLock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Backlog
    • None

    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

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

            Dates

              Created:
              Updated: