Merge "Add thread unsafe allocation methods to spaces."