ghalliday/HPCC-Platform — comment on commit 34ca50134fca06a2e5828beee31c969ba2d37f00
File: roxie/roxiemem/roxiemem.cpp line 1632
By ghalliday:

I think it is correct to keep looping.
Once a heap is dead it doesn't matter if you release it - unless it is linked 2^31 times which is very unlikely!
In the mean time another thread might have created a heap and added it - so we want to match that if possible.
This also shouldn't be *that* time critical.