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

Remove synchronization in SegmentReader.isDeleted

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3.1
    • 2.4
    • core/index
    • None
    • 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
          26 kB
          Michael McCandless
        2. LUCENE-1329.patch
          33 kB
          Michael McCandless
        3. lucene-1329.patch
          3 kB
          Jason Rutherglen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: