Merge "Switch ReferenceWithHistory to use ArrayDeque" into rvc-dev am: c6eea102 am: 99ee3fe2 am: f96f6e02 am: 7421cd22 Change-Id: Ie6bbdc4fb050b5e4ad825450b1b84960d8e06212