change to use STM, fixing 4 things   1. there was no async exception protection   2. there was a space leak (now new value is strict)   3. using atomicModifyIORef would be slightly quicker, but can      suffer from adverse scheduling issues (see #3838)   4. also, the STM version is faster.
change to use STM, fixing 4 things
  1. there was no async exception protection
  2. there was a space leak (now new value is strict)
  3. using atomicModifyIORef would be slightly quicker, but can
     suffer from adverse scheduling issues (see #3838)
  4. also, the STM version is faster.

siddhanathan/ghc,ghc-android/ghc,christiaanb/ghc,ryantm/ghc,anton-dessiatov/ghc,snoyberg/ghc,ryantm/ghc,bitemyapp/ghc,sgillespie/ghc,TomMD/ghc,AlexanderPankiv/ghc,wxwxwwxxx/ghc,TomMD/ghc,siddhanathan/ghc,sgillespie/ghc,jstolarek/ghc,fmthoma/ghc,anton-dessiatov/ghc,lukexi/ghc,snoyberg/ghc,mcschroeder/ghc,mcschroeder/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,TomMD/ghc,christiaanb/ghc,christiaanb/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,da-x/ghc,ezyang/ghc,oldmanmike/ghc,urbanslug/ghc,GaloisInc/halvm-ghc,ghc-android/ghc,mcschroeder/ghc,urbanslug/ghc,vikraman/ghc,sdiehl/ghc,ghc-android/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,anton-dessiatov/ghc,frantisekfarka/ghc-dsi,tjakway/ghcjvm,vikraman/ghc,elieux/ghc,snoyberg/ghc,anton-dessiatov/ghc,tibbe/ghc,sdiehl/ghc,nkaretnikov/ghc,ml9951/ghc,fmthoma/ghc,vikraman/ghc,ghc-android/ghc,tjakway/ghcjvm,mcschroeder/ghc,frantisekfarka/ghc-dsi,gcampax/ghc,sdiehl/ghc,bitemyapp/ghc,gcampax/ghc,mettekou/ghc,mfine/ghc,nushio3/ghc,siddhanathan/ghc,sgillespie/ghc,jstolarek/ghc,oldmanmike/ghc,nushio3/ghc,olsner/ghc,mfine/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,acowley/ghc,mcschroeder/ghc,olsner/ghc,holzensp/ghc,fmthoma/ghc,tjakway/ghcjvm,mettekou/ghc,nkaretnikov/ghc,sdiehl/ghc,ghc-android/ghc,acowley/ghc,ryantm/ghc,forked-upstream-packages-for-ghcjs/ghc,vTurbine/ghc,gcampax/ghc,lukexi/ghc,oldmanmike/ghc,ezyang/ghc,gcampax/ghc,sgillespie/ghc,lukexi/ghc,frantisekfarka/ghc-dsi,sgillespie/ghc,GaloisInc/halvm-ghc,elieux/ghc,tibbe/ghc,sdiehl/ghc,mettekou/ghc,anton-dessiatov/ghc,vTurbine/ghc,da-x/ghc,urbanslug/ghc,vikraman/ghc,GaloisInc/halvm-ghc,mettekou/ghc,ghc-android/ghc,gridaphobe/ghc,fmthoma/ghc,snoyberg/ghc,shlevy/ghc,da-x/ghc,ezyang/ghc,wxwxwwxxx/ghc,vikraman/ghc,jstolarek/ghc,gcampax/ghc,nathyong/microghc-ghc,green-haskell/ghc,wxwxwwxxx/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,mettekou/ghc,elieux/ghc,mfine/ghc,olsner/ghc,TomMD/ghc,frantisekfarka/ghc-dsi,nkaretnikov/ghc,elieux/ghc,bitemyapp/ghc,snoyberg/ghc,shlevy/ghc,fmthoma/ghc,holzensp/ghc,siddhanathan/ghc,ml9951/ghc,ml9951/ghc,elieux/ghc,GaloisInc/halvm-ghc,fmthoma/ghc,shlevy/ghc,ml9951/ghc,christiaanb/ghc,ezyang/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,ryantm/ghc,sdiehl/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,vikraman/ghc,siddhanathan/ghc,tjakway/ghcjvm,gridaphobe/ghc,ezyang/ghc,vTurbine/ghc,snoyberg/ghc,nkaretnikov/ghc,nathyong/microghc-ghc,spacekitteh/smcghc,vikraman/ghc,nushio3/ghc,nkaretnikov/ghc,snoyberg/ghc,christiaanb/ghc,oldmanmike/ghc,acowley/ghc,green-haskell/ghc,shlevy/ghc,AlexanderPankiv/ghc,green-haskell/ghc,ml9951/ghc,holzensp/ghc,oldmanmike/ghc,urbanslug/ghc,AlexanderPankiv/ghc,elieux/ghc,lukexi/ghc,nathyong/microghc-ghc,mcschroeder/ghc,nushio3/ghc,bitemyapp/ghc,green-haskell/ghc,ezyang/ghc,mcschroeder/ghc,nushio3/ghc,TomMD/ghc,TomMD/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,GaloisInc/halvm-ghc,acowley/ghc,ml9951/ghc,nathyong/microghc-ghc,spacekitteh/smcghc,gridaphobe/ghc,holzensp/ghc,da-x/ghc,ezyang/ghc,christiaanb/ghc,jstolarek/ghc,holzensp/ghc,ml9951/ghc,wxwxwwxxx/ghc,jstolarek/ghc,olsner/ghc,mfine/ghc,sdiehl/ghc,acowley/ghc,spacekitteh/smcghc,gridaphobe/ghc,mfine/ghc,gridaphobe/ghc,urbanslug/ghc,gcampax/ghc,olsner/ghc,ryantm/ghc,spacekitteh/smcghc,olsner/ghc,tjakway/ghcjvm,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,elieux/ghc,mfine/ghc,shlevy/ghc,acowley/ghc,fmthoma/ghc,AlexanderPankiv/ghc,urbanslug/ghc,siddhanathan/ghc,mettekou/ghc,vTurbine/ghc,tibbe/ghc,nathyong/microghc-ghc,oldmanmike/ghc,bitemyapp/ghc,ml9951/ghc,oldmanmike/ghc,mettekou/ghc,shlevy/ghc,ghc-android/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,AlexanderPankiv/ghc,nathyong/microghc-ghc,da-x/ghc,tjakway/ghcjvm,vTurbine/ghc,vTurbine/ghc,wxwxwwxxx/ghc,da-x/ghc,da-x/ghc,mfine/ghc,TomMD/ghc,tjakway/ghcjvm,spacekitteh/smcghc,gcampax/ghc,sgillespie/ghc,frantisekfarka/ghc-dsi,urbanslug/ghc,vTurbine/ghc,lukexi/ghc,shlevy/ghc,acowley/ghc,wxwxwwxxx/ghc,christiaanb/ghc,olsner/ghc,AlexanderPankiv/ghc,nkaretnikov/ghc