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

don't use finalizers for FSIndexInput clones

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • None
    • core/search
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: