Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-1329

Remove synchronization in SegmentReader.isDeleted

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.4
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Removes SegmentReader.isDeleted synchronization by using a volatile deletedDocs variable on Java 1.5 platforms. On Java 1.4 platforms synchronization is limited to obtaining the deletedDocs reference.

        Attachments

        1. LUCENE-1329.patch
          33 kB
          Michael McCandless
        2. LUCENE-1329.patch
          26 kB
          Michael McCandless
        3. lucene-1329.patch
          3 kB
          Jason Rutherglen

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              jasonrutherglen Jason Rutherglen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: