Looking at the implementation, it's not clear. Elements will be overwritten, but the size() continues to increase without being bound to the fixed size of the queue.