Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-644

The design and implementation of a better ThreadLocal<T>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Lucene.Net 3.0.3, Lucene.Net 4.0
    • None
    • Lucene.Net Core

    Description

      This issue was first reported in LUCENENET-640.

      When using very high number of threads for long periods of time, the garbage collector will cause all threads to block for several seconds. More details here.

      There is also a solution being tested, which is blogged about here.

      Ideally, we should adapt the fix after it has been thoroughly tested, provided Microsoft doesn't fix the problem with ThreadLocal<T> first.

      Attachments

        Issue Links

          Activity

            People

              nightowl888 Shad Storhaug
              nightowl888 Shad Storhaug
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: