Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Per thread injection should use ThreadLocal storage, or depending on the Registry implementation allow that #2

Closed
apatrida opened this issue Aug 5, 2015 · 1 comment

Comments

@apatrida
Copy link
Contributor

apatrida commented Aug 5, 2015

Currently per thread instantiated instances are pulled from the concurrent maps with the default registry. They could be stored on ThreadLocal storage as an optimization.

This also COULD be a memory leak if new threads are created all the time and discarded, the current registry would not expire any.

@apatrida
Copy link
Contributor Author

now in 1.3.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant