HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Make the Resolver template cache threadsafe - closes #6404
The Template cache in the Resolver can be accessed by multiple threads similtaneously in multi-threaded environments. The cache is implemented using a Hash, which isn't threadsafe in all VMs (notably JRuby). This commit extracts the cache to a new Cache class and adds mutexes to prevent concurrent access.
- Loading branch information...
Showing with 54 additions and 23 deletions.