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