SI-6240 synchronization for runtime reflection

Locks are no fun, but it looks like that's our only hope of getting thread-safety in 2.10.1.