Neat, we have multiple allocator authors on this thread! I&#x27;m one of the authors of reference [38], Streamflow (<a href="http:&#x2F;&#x2F;www.scott-a-s.com&#x2F;projects&#x2F;#streamflow" rel="nofollow">http:&#x2F;&#x2F;www.scott-a-s.com&#x2F;projects&#x2F;#streamflow</a>). Unlike the other allocators, our code has not been kept updated over the years. So it&#x27;s very reasonable our allocator is not compared against in the experiments. In any event, the allocator for TBBmalloc shares a lot of design similarity. (It&#x27;s based on McRT-malloc, which was presented as a paper during the same session as our allocator at ISMM 2006.)<p>The author of this paper does not use lock-free techniques, which our allocator used - I&#x27;m curious if using lock-free algorithms would have changed the author&#x27;s design, or improved the performance. I do think that despite the similarities that Streamflow has to TBBmalloc, Streamflow is not susceptible to the same kind of memory blowup. The problem, as described in the recent paper:<p>&quot;TBBmalloc can have an unbounded footprint. One case
was documented by [40]. In this case, one thread allocates
a large number of objects, and a second thread then frees
them, placing them into the first threads foreign block. If the
first thread then does not call free(), then the memory will
never be removed from the foreign block to be reused. There
appears to be no easy fix to this problem in TBBmalloc,
since the thread-local locking policy assumes, deep in its
design, that every thread calls free() periodically.&quot;<p>Streamflow avoids this problem by putting the remote-free block check on the malloc path. That is, when allocating memory, you always check if other threads remotely freed memory for you. Basically, if you&#x27;re continually allocating memory, you&#x27;re also continually checking to see if you should clean your memory that other threads freed for you. You can see this in action: <a href="https:&#x2F;&#x2F;github.com&#x2F;scotts&#x2F;streamflow&#x2F;blob&#x2F;master&#x2F;streamflow.c#L1211" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;scotts&#x2F;streamflow&#x2F;blob&#x2F;master&#x2F;streamflow....</a><p>All of the above is just to add some background - I look forward to really digging into this paper over the holidays.<p>(In case anyone actually follows my comments, they may know I currently do research and development for IBM Streams. That has zero relationship to this memory allocator I worked on early in grad school; it&#x27;s just an odd coincidence of project names.)