geoserver/geoserver — pull request #396 by smithkm (2013-11-12 18:54:30+00:00)
Title: Resource Pool Synchronization Optimization

A client at the Ordnance Survey noticed an issue with ResourcePool synchronizing when unnecessary, slowing down retrieval of feature types. They fixed it and submitted the patch through us. Existing unit tests give comparable coverage to the pre-optimized code. The case where a virtual table backs the feature type wasn't covered by unit tests but I've done an ad hoc test of a virtual table with no ill effects.