rails/rails — pull request #6425 by pinetops (2012-05-21 18:27:53+00:00)
Title: Resolver concurrency fix

Replacement for #6412

This is a fix for #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 includes two commits, the first puts a global lock around the whole process.
The second improves this to add a more granular lock.