This doesn't conflict with those efforts, and is much easier to do.
On Thu, Dec 6, 2018 at 6:56 PM Leif Hedstrom <zw...@apache.org> wrote:
>
> I thought the efforts were to be focused on getting jemalloc optimized with 
> their concepts of arenas and NUMA affinity and thread ware allocations?
>
> — Leif
>
> > On Dec 6, 2018, at 15:02, Walt Karas <wka...@oath.com.invalid> wrote:
> >
> > Would it be desirable for ATS to use this (cleaner) version of free lists?
> >
> > https://github.com/ywkaras/MiscRepo/blob/master/Dynamic_obj/example.cc
> >
> > https://github.com/ywkaras/MiscRepo/blob/master/Dynamic_obj/Dynamic_obj.h
> >
> > The advantage is faster allocation/deallocation for small objects with
> > short lifetimes.  The disadvantage is we could reach heap exhaustion
> > more easily, as the free lists are reserving free memory for
> > allocation of a particular size (and where the size is a constexpr).
> >
> > We would probably want to use conditional compilation for force
> > Large_threshold to 0 for FSAN builds and maybe debug builds also.
>

Reply via email to