https://bugs.kde.org/show_bug.cgi?id=476535

--- Comment #1 from Paul Floyd <pjfl...@wanadoo.fr> ---
So I think what happens is that arena_malloc allocates requested size +
alignment  + overhead

Then the small block up to the alignment boundary gets freed. Since the
alignment was added to the arena_malloc size then even in the worst case there
will be the original user requested size available.

That means that "extra-heap" is made up of overhead and slop from rounding up
the the alignment boundary.

And from what I see the slop depends on what was allocated previously. Since
libc++ and libstdc++ do different allocations the slop is different.

Conclusion: I need to filter the extra-heap for these aligned allocations.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to