Runtime: Lock the metadata caches
Runtime: Lock the metadata caches

This fixes: <rdar://problem/15889015>

Swift SVN r18434

hooman/swift,calebd/swift,Ivacker/swift,nathawes/swift,frootloops/swift,OscarSwanros/swift,zisko/swift,harlanhaskins/swift,deyton/swift,milseman/swift,cbrentharris/swift,mightydeveloper/swift,slavapestov/swift,kstaring/swift,gottesmm/swift,practicalswift/swift,kperryua/swift,adrfer/swift,shajrawi/swift,aschwaighofer/swift,slavapestov/swift,OscarSwanros/swift,brentdax/swift,OscarSwanros/swift,modocache/swift,uasys/swift,amraboelela/swift,Jnosh/swift,natecook1000/swift,jckarter/swift,mightydeveloper/swift,manavgabhawala/swift,shajrawi/swift,return/swift,huonw/swift,ken0nek/swift,manavgabhawala/swift,gmilos/swift,stephentyrone/swift,karwa/swift,kperryua/swift,JGiola/swift,lorentey/swift,modocache/swift,calebd/swift,khizkhiz/swift,russbishop/swift,rudkx/swift,ken0nek/swift,kentya6/swift,roambotics/swift,khizkhiz/swift,Jnosh/swift,therealbnut/swift,aschwaighofer/swift,khizkhiz/swift,uasys/swift,bitjammer/swift,huonw/swift,alblue/swift,danielmartin/swift,hughbe/swift,sschiau/swift,johnno1962d/swift,harlanhaskins/swift,shahmishal/swift,hughbe/swift,therealbnut/swift,gribozavr/swift,JaSpa/swift,karwa/swift,IngmarStein/swift,uasys/swift,kentya6/swift,JaSpa/swift,codestergit/swift,felix91gr/swift,JaSpa/swift,zisko/swift,kentya6/swift,shajrawi/swift,brentdax/swift,codestergit/swift,felix91gr/swift,tkremenek/swift,devincoughlin/swift,kperryua/swift,frootloops/swift,apple/swift,hooman/swift,cbrentharris/swift,SwiftAndroid/swift,glessard/swift,huonw/swift,kperryua/swift,mightydeveloper/swift,practicalswift/swift,uasys/swift,emilstahl/swift,benlangmuir/swift,KrishMunot/swift,kentya6/swift,xedin/swift,alblue/swift,devincoughlin/swift,practicalswift/swift,djwbrown/swift,codestergit/swift,johnno1962d/swift,swiftix/swift,shahmishal/swift,hooman/swift,JGiola/swift,allevato/swift,benlangmuir/swift,frootloops/swift,jopamer/swift,Ivacker/swift,ben-ng/swift,deyton/swift,felix91gr/swift,dduan/swift,return/swift,roambotics/swift,emilstahl/swift,Ivacker/swift,LeoShimonaka/swift,gottesmm/swift,deyton/swift,jtbandes/swift,atrick/swift,johnno1962d/swift,gmilos/swift,huonw/swift,ken0nek/swift,IngmarStein/swift,shajrawi/swift,ahoppen/swift,gmilos/swift,return/swift,mightydeveloper/swift,sschiau/swift,tinysun212/swift-windows,amraboelela/swift,arvedviehweger/swift,zisko/swift,kstaring/swift,JGiola/swift,aschwaighofer/swift,huonw/swift,jopamer/swift,danielmartin/swift,swiftix/swift,harlanhaskins/swift,practicalswift/swift,manavgabhawala/swift,xedin/swift,sdulal/swift,return/swift,austinzheng/swift,jckarter/swift,glessard/swift,karwa/swift,zisko/swift,tjw/swift,JGiola/swift,brentdax/swift,tkremenek/swift,modocache/swift,swiftix/swift,roambotics/swift,xedin/swift,kperryua/swift,jckarter/swift,sschiau/swift,Jnosh/swift,austinzheng/swift,parkera/swift,gmilos/swift,tjw/swift,johnno1962d/swift,natecook1000/swift,natecook1000/swift,calebd/swift,return/swift,russbishop/swift,CodaFi/swift,aschwaighofer/swift,uasys/swift,jmgc/swift,lorentey/swift,xwu/swift,amraboelela/swift,felix91gr/swift,lorentey/swift,swiftix/swift.old,kusl/swift,return/swift,hooman/swift,calebd/swift,harlanhaskins/swift,tinysun212/swift-windows,airspeedswift/swift,djwbrown/swift,mightydeveloper/swift,nathawes/swift,arvedviehweger/swift,SwiftAndroid/swift,aschwaighofer/swift,parkera/swift,practicalswift/swift,kusl/swift,frootloops/swift,johnno1962d/swift,djwbrown/swift,xedin/swift,xwu/swift,hughbe/swift,slavapestov/swift,huonw/swift,devincoughlin/swift,allevato/swift,glessard/swift,adrfer/swift,sdulal/swift,bitjammer/swift,MukeshKumarS/Swift,cbrentharris/swift,IngmarStein/swift,russbishop/swift,tinysun212/swift-windows,ahoppen/swift,JGiola/swift,mightydeveloper/swift,brentdax/swift,xedin/swift,swiftix/swift,karwa/swift,swiftix/swift.old,zisko/swift,russbishop/swift,swiftix/swift,allevato/swift,kusl/swift,glessard/swift,codestergit/swift,kstaring/swift,nathawes/swift,austinzheng/swift,apple/swift,atrick/swift,arvedviehweger/swift,therealbnut/swift,practicalswift/swift,dreamsxin/swift,sschiau/swift,ben-ng/swift,natecook1000/swift,gribozavr/swift,modocache/swift,emilstahl/swift,bitjammer/swift,codestergit/swift,natecook1000/swift,Ivacker/swift,rudkx/swift,MukeshKumarS/Swift,IngmarStein/swift,stephentyrone/swift,CodaFi/swift,gregomni/swift,stephentyrone/swift,IngmarStein/swift,gottesmm/swift,manavgabhawala/swift,zisko/swift,kstaring/swift,cbrentharris/swift,aschwaighofer/swift,LeoShimonaka/swift,stephentyrone/swift,airspeedswift/swift,nathawes/swift,kentya6/swift,jopamer/swift,tardieu/swift,apple/swift,manavgabhawala/swift,sdulal/swift,cbrentharris/swift,slavapestov/swift,hughbe/swift,jtbandes/swift,cbrentharris/swift,xwu/swift,hooman/swift,tardieu/swift,shajrawi/swift,amraboelela/swift,roambotics/swift,roambotics/swift,parkera/swift,danielmartin/swift,tkremenek/swift,jopamer/swift,adrfer/swift,danielmartin/swift,CodaFi/swift,tjw/swift,Ivacker/swift,devincoughlin/swift,parkera/swift,IngmarStein/swift,amraboelela/swift,dduan/swift,adrfer/swift,natecook1000/swift,russbishop/swift,arvedviehweger/swift,devincoughlin/swift,shahmishal/swift,Jnosh/swift,tardieu/swift,kperryua/swift,deyton/swift,swiftix/swift,milseman/swift,JGiola/swift,LeoShimonaka/swift,alblue/swift,tardieu/swift,KrishMunot/swift,ben-ng/swift,IngmarStein/swift,dduan/swift,roambotics/swift,tardieu/swift,sdulal/swift,swiftix/swift.old,hughbe/swift,mightydeveloper/swift,felix91gr/swift,devincoughlin/swift,slavapestov/swift,hooman/swift,jmgc/swift,OscarSwanros/swift,calebd/swift,manavgabhawala/swift,manavgabhawala/swift,milseman/swift,austinzheng/swift,djwbrown/swift,milseman/swift,gribozavr/swift,gribozavr/swift,frootloops/swift,parkera/swift,codestergit/swift,airspeedswift/swift,karwa/swift,russbishop/swift,kstaring/swift,nathawes/swift,kusl/swift,danielmartin/swift,sdulal/swift,adrfer/swift,xedin/swift,MukeshKumarS/Swift,LeoShimonaka/swift,tkremenek/swift,MukeshKumarS/Swift,karwa/swift,allevato/swift,rudkx/swift,lorentey/swift,frootloops/swift,shajrawi/swift,xwu/swift,codestergit/swift,Ivacker/swift,gottesmm/swift,alblue/swift,rudkx/swift,dduan/swift,Jnosh/swift,dduan/swift,glessard/swift,kusl/swift,dreamsxin/swift,gregomni/swift,bitjammer/swift,tjw/swift,natecook1000/swift,alblue/swift,xwu/swift,shahmishal/swift,khizkhiz/swift,KrishMunot/swift,zisko/swift,jtbandes/swift,shajrawi/swift,OscarSwanros/swift,brentdax/swift,parkera/swift,alblue/swift,gregomni/swift,jckarter/swift,Ivacker/swift,tinysun212/swift-windows,tjw/swift,mightydeveloper/swift,xedin/swift,adrfer/swift,ken0nek/swift,tardieu/swift,sdulal/swift,shahmishal/swift,lorentey/swift,therealbnut/swift,hooman/swift,kusl/swift,Ivacker/swift,bitjammer/swift,felix91gr/swift,Jnosh/swift,jmgc/swift,JaSpa/swift,ken0nek/swift,xedin/swift,gottesmm/swift,KrishMunot/swift,karwa/swift,MukeshKumarS/Swift,nathawes/swift,swiftix/swift.old,slavapestov/swift,practicalswift/swift,slavapestov/swift,sschiau/swift,allevato/swift,ben-ng/swift,khizkhiz/swift,stephentyrone/swift,khizkhiz/swift,CodaFi/swift,devincoughlin/swift,benlangmuir/swift,OscarSwanros/swift,glessard/swift,deyton/swift,LeoShimonaka/swift,djwbrown/swift,stephentyrone/swift,swiftix/swift.old,SwiftAndroid/swift,gottesmm/swift,gmilos/swift,lorentey/swift,amraboelela/swift,emilstahl/swift,emilstahl/swift,CodaFi/swift,practicalswift/swift,emilstahl/swift,parkera/swift,LeoShimonaka/swift,xwu/swift,allevato/swift,frootloops/swift,gregomni/swift,ben-ng/swift,shajrawi/swift,tkremenek/swift,harlanhaskins/swift,harlanhaskins/swift,dduan/swift,jmgc/swift,milseman/swift,ken0nek/swift,parkera/swift,allevato/swift,deyton/swift,calebd/swift,arvedviehweger/swift,apple/swift,modocache/swift,atrick/swift,deyton/swift,CodaFi/swift,gribozavr/swift,arvedviehweger/swift,austinzheng/swift,kusl/swift,shahmishal/swift,rudkx/swift,JaSpa/swift,gribozavr/swift,JaSpa/swift,swiftix/swift.old,SwiftAndroid/swift,xwu/swift,adrfer/swift,amraboelela/swift,gregomni/swift,shahmishal/swift,sschiau/swift,tinysun212/swift-windows,LeoShimonaka/swift,harlanhaskins/swift,kstaring/swift,jckarter/swift,OscarSwanros/swift,shahmishal/swift,devincoughlin/swift,sdulal/swift,kentya6/swift,danielmartin/swift,Jnosh/swift,jtbandes/swift,swiftix/swift.old,therealbnut/swift,SwiftAndroid/swift,emilstahl/swift,ahoppen/swift,tardieu/swift,airspeedswift/swift,danielmartin/swift,cbrentharris/swift,dduan/swift,jtbandes/swift,nathawes/swift,jmgc/swift,russbishop/swift,CodaFi/swift,atrick/swift,gmilos/swift,modocache/swift,swiftix/swift.old,JaSpa/swift,emilstahl/swift,swiftix/swift,arvedviehweger/swift,jopamer/swift,gottesmm/swift,therealbnut/swift,ken0nek/swift,jopamer/swift,kstaring/swift,benlangmuir/swift,sschiau/swift,airspeedswift/swift,jmgc/swift,tinysun212/swift-windows,brentdax/swift,kusl/swift,gribozavr/swift,khizkhiz/swift,cbrentharris/swift,tkremenek/swift,gribozavr/swift,stephentyrone/swift,johnno1962d/swift,felix91gr/swift,karwa/swift,kperryua/swift,MukeshKumarS/Swift,ahoppen/swift,lorentey/swift,MukeshKumarS/Swift,uasys/swift,ben-ng/swift,djwbrown/swift,jtbandes/swift,jckarter/swift,bitjammer/swift,benlangmuir/swift,gmilos/swift,jmgc/swift,apple/swift,KrishMunot/swift,kentya6/swift,bitjammer/swift,brentdax/swift,milseman/swift,sschiau/swift,therealbnut/swift,aschwaighofer/swift,tkremenek/swift,jtbandes/swift,lorentey/swift,atrick/swift,airspeedswift/swift,uasys/swift,sdulal/swift,jopamer/swift,alblue/swift,calebd/swift,ahoppen/swift,rudkx/swift,SwiftAndroid/swift,return/swift,kentya6/swift,ben-ng/swift,modocache/swift,LeoShimonaka/swift,jckarter/swift,tjw/swift,atrick/swift,tinysun212/swift-windows,airspeedswift/swift,apple/swift,austinzheng/swift,milseman/swift,KrishMunot/swift,austinzheng/swift,tjw/swift,ahoppen/swift,djwbrown/swift,johnno1962d/swift,gregomni/swift,benlangmuir/swift,SwiftAndroid/swift,hughbe/swift,KrishMunot/swift,hughbe/swift,huonw/swift