Description
When the index file has a huge number of free pages and the broker is starting up (loading the index) we end up in a O(n2) loop.
This was causing the broker to use 100% cpu and not being able to start up even after a long time (as i remember we had around 3 millions free page in this case)
I noticed that almost all the free pages was being added to the end of the sequenceSet... So for any free page the broker had to necessity iterate through all the Set (and after doing that for nothing add . the value to the tail).
With this small change, the broker started up in less than 5 minutes.