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

CustomizableThreadCreator could use AtomicInteger [SPR-11103] #15729

spring-projects-issues opened this issue Nov 20, 2013 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Nov 20, 2013

Phil Webb opened SPR-11103 and commented

Customizable thread creator should use an AtomicInteger for a single and incrementing counter, for elastic thread pools locking for a single thread creation is at least twice expensive than using any AQS implementation.

I have to open an issue for this, sorry for starting on a wrong foot. Will do that soon.

I have signed and agree to the terms of the SpringSource Individual
Contributor License Agreement.

Affects: 3.2.5

Reference URL: #454

Referenced from: commits 1cd5071

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Feb 4, 2014

Juergen Hoeller commented

I've added this improvement to master, for release in 4.0.2. I'm reluctant to backport it to the 3.2.x branch since it's a runtime improvement and not a bug fix...


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants