Merge "Switch ReferenceWithHistory to use ArrayDeque" into rvc-dev am: c6eea102 am: bdda392a am: f2dc29fd am: a4a0c03e Change-Id: Icc638ddfade26d3cd8553eb84510cd542a0dde33