Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The design and implementation of a better ThreadLocal<T> #251

Closed
clambertus opened this issue Feb 9, 2020 · 0 comments · Fixed by #325
Closed

The design and implementation of a better ThreadLocal<T> #251

clambertus opened this issue Feb 9, 2020 · 0 comments · Fixed by #325

Comments

@clambertus
Copy link

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 first.

JIRA link - [LUCENENET-644] created by nightowl888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants