Merge "Optimizations around escape analysis. With tests."
am: 679ba8d5d5

Change-Id: I78b8d4d3da19997158f45d9f2fd75578de87842f