Merge "Backport native allocation tracking."