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

don't use finalizers for FSIndexInput clones

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: core/search
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      finalizers are expensive, and we should avoid using them where possible.
      It looks like this helped to tickle some kind of bug (looks like a JVM bug?)
      http://www.nabble.com/15-minute-hang-in-IndexInput.clone%28%29-involving-finalizers-tf2826906.html#a7891015

        Attachments

        1. IndexInput_finalizer.patch
          2 kB
          Yonik Seeley
        2. IndexInput_finalizer.patch
          2 kB
          Yonik Seeley

          Activity

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              yseeley@gmail.com Yonik Seeley
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: