Adding a local thread registry to store local caches.
Merge pull request #10250 from wangjohn/local_cache_registry

Adding a local thread registry to store local caches.