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

ThreadLocal::remove performance impacts #4749

Closed
franz1981 opened this issue Jun 21, 2023 · 0 comments · Fixed by #5092
Closed

ThreadLocal::remove performance impacts #4749

franz1981 opened this issue Jun 21, 2023 · 0 comments · Fixed by #5092
Labels

Comments

@franz1981
Copy link
Contributor

franz1981 commented Jun 21, 2023

introduced to solve #4583 is not performant (for our use cases), see
smallrye/smallrye-context-propagation#424 (comment)

A different mechanism or just using FastThreadLocal's (to ve verified if they have the same impact) would solve it.

@franz1981 franz1981 added the bug label Jun 21, 2023
@franz1981 franz1981 changed the title ThreadLocal::remove can cause scalability impacts ThreadLocal::remove performance impacts Jun 21, 2023
@vietj vietj closed this as completed in 99bc0da Jun 23, 2023
franz1981 added a commit to franz1981/vert.x that referenced this issue Jun 23, 2023
…clipse-vertx#4750)

* Use fast thread local and fix GC nepotism (Fixes eclipse-vertx#4749)
* Replace order of reentrant task's merge
vietj pushed a commit that referenced this issue Jun 27, 2023
* Use fast thread local and fix GC nepotism (Fixes #4749)
* Replace order of reentrant task's merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant