[stdlib] Synchronization-free empty array buffer
[stdlib] Synchronization-free empty array buffer

Now that <rdar://problem/18540783> is fixed, we can stop allocating the
empty array buffer dynamically and go back to using the one that is
statically laid out in GlobalObjects.cpp, thereby avoiding the
atomic instructions required to make it threadsafe.

Swift SVN r22545

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