lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shad Storhaug (Jira)" <j...@apache.org>
Subject [jira] [Created] (LUCENENET-644) The design and implementation of a better ThreadLocal<T>
Date Sun, 09 Feb 2020 18:16:00 GMT
Shad Storhaug created LUCENENET-644:
---------------------------------------

             Summary: The design and implementation of a better ThreadLocal<T>
                 Key: LUCENENET-644
                 URL: https://issues.apache.org/jira/browse/LUCENENET-644
             Project: Lucene.Net
          Issue Type: Improvement
          Components: Lucene.Net Core
    Affects Versions: Lucene.Net 3.0.3, Lucene.Net 4.0
            Reporter: Shad Storhaug
            Assignee: Shad Storhaug


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|https://ayende.com/blog/189761-A/production-postmortem-the-slow-slowdown-of-large-systems].

There is also a solution being tested, which is blogged about [here|https://ayende.com/blog/189793-A/the-design-and-implementation-of-a-better-threadlocal-t].

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message