GetByVal and PutByVal on ArrayStorage need to use the same AbstractHeap