am 7830ef3d: Change ordering of memory allocation and calling Thread::run().

* commit '7830ef3dd0ff3749d974c2dd85a8fa59dc47aeca':
  Change ordering of memory allocation and calling Thread::run().