Bug 936236 - Wait on background sweeping to complete after large-allocation-failure callback (r=jonco)

--HG--
extra : rebase_source : a93e691cbd76995abfa4ceed709c495fdb97d62c