Account for stack allocation in the thread's allocation counter
Account for stack allocation in the thread's allocation counter

Summary: (see comment for details)

Test Plan: validate

Reviewers: bgamari, ezyang, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1243

GaloisInc/halvm-ghc,olsner/ghc,vikraman/ghc,oldmanmike/ghc,tjakway/ghcjvm,vTurbine/ghc,snoyberg/ghc,mcschroeder/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,sdiehl/ghc,mcschroeder/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,mettekou/ghc,vTurbine/ghc,sgillespie/ghc,nushio3/ghc,wxwxwwxxx/ghc,siddhanathan/ghc,ml9951/ghc,vikraman/ghc,elieux/ghc,mettekou/ghc,da-x/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,da-x/ghc,GaloisInc/halvm-ghc,wxwxwwxxx/ghc,ezyang/ghc,tjakway/ghcjvm,gridaphobe/ghc,ezyang/ghc,vikraman/ghc,vikraman/ghc,nushio3/ghc,vTurbine/ghc,AlexanderPankiv/ghc,GaloisInc/halvm-ghc,vTurbine/ghc,mcschroeder/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,nushio3/ghc,da-x/ghc,shlevy/ghc,ghc-android/ghc,elieux/ghc,vTurbine/ghc,ml9951/ghc,elieux/ghc,sdiehl/ghc,sgillespie/ghc,ghc-android/ghc,gridaphobe/ghc,gridaphobe/ghc,sdiehl/ghc,ghc-android/ghc,vikraman/ghc,nushio3/ghc,nushio3/ghc,ml9951/ghc,ezyang/ghc,ml9951/ghc,wxwxwwxxx/ghc,GaloisInc/halvm-ghc,gridaphobe/ghc,oldmanmike/ghc,da-x/ghc,GaloisInc/halvm-ghc,olsner/ghc,vikraman/ghc,tjakway/ghcjvm,mettekou/ghc,vTurbine/ghc,oldmanmike/ghc,snoyberg/ghc,mcschroeder/ghc,ml9951/ghc,olsner/ghc,mettekou/ghc,olsner/ghc,snoyberg/ghc,gridaphobe/ghc,sgillespie/ghc,wxwxwwxxx/ghc,sdiehl/ghc,snoyberg/ghc,da-x/ghc,sdiehl/ghc,snoyberg/ghc,sgillespie/ghc,oldmanmike/ghc,nushio3/ghc,olsner/ghc,shlevy/ghc,ezyang/ghc,mcschroeder/ghc,shlevy/ghc,wxwxwwxxx/ghc,elieux/ghc,elieux/ghc,tjakway/ghcjvm,ghc-android/ghc,ezyang/ghc,sgillespie/ghc,shlevy/ghc,AlexanderPankiv/ghc,ezyang/ghc,siddhanathan/ghc,snoyberg/ghc,mettekou/ghc,shlevy/ghc,nushio3/ghc,ghc-android/ghc,mettekou/ghc,mcschroeder/ghc,sgillespie/ghc,AlexanderPankiv/ghc,sdiehl/ghc,mcschroeder/ghc,vikraman/ghc,AlexanderPankiv/ghc,sdiehl/ghc,ghc-android/ghc,gridaphobe/ghc,da-x/ghc,elieux/ghc,ml9951/ghc,siddhanathan/ghc,siddhanathan/ghc,oldmanmike/ghc,ezyang/ghc,shlevy/ghc,mettekou/ghc,siddhanathan/ghc,da-x/ghc,snoyberg/ghc,shlevy/ghc,ml9951/ghc,ml9951/ghc,olsner/ghc,tjakway/ghcjvm,vTurbine/ghc,ghc-android/ghc,tjakway/ghcjvm,gridaphobe/ghc,elieux/ghc,siddhanathan/ghc,olsner/ghc,tjakway/ghcjvm