Euh, I don't see where you see this.

This code is only going to allocate an array of size `runtime.maxArraySize` if:
- `grownCapacity < neededCapacity` => overflow, so taking the `maxArraySize` which is bigger than `neededCapacity`

or
- `grownCapacity > maxArraySize` => taking `maxArraySize` which is bigger than `neededCapacity`

I did the test to confirm this with a queue whose internal array size is 10 and I called grow with 6, and it grew up to 24, which is what I expect.

Did I get something wrong?