Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4027 Enable direct byte buffers LruBlockCache
  3. HBASE-4278

Race condition in Slab.java that occurs due to spinlock unlocking early

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.92.0
    • Component/s: None
    • Labels:
      None

      Description

      Just a race condition in 4027. Occurs due to a spinlock that happens if the slab allocator is empty. When the slab allocator gets gets a slice of memory returned, if multiple threads are locked, both can be freed at the same time, leading one to throw an exception.

        Attachments

        1. 4278.diff
          0.8 kB
          Li Pi
        2. 4278.diff
          10 kB
          Li Pi

          Activity

            People

            • Assignee:
              li Li Pi
              Reporter:
              li Li Pi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: