[lldb-dev] LLDB Evolution - Final Form
Zachary Turner via lldb-dev
lldb-dev at lists.llvm.org
Mon Sep 19 14:39:58 PDT 2016
On Mon, Sep 19, 2016 at 2:37 PM Greg Clayton <gclayton at apple.com> wrote:
>
> > Just thinking out loud here, but one possibility is to have multiple
> pools. One which is ref counted and one which isn't. If you need
> something to live forever, vend it from the non-ref-counted pool.
> Otherwise vend it from the ref counted pool.
>
> Again, since we already are using LLVM under the hood here, I would hope
> to avoid changes if possible.
>
> Right, but we aren't specifically using the llvm::StringPool class which
ref counts. idk, maybe there wouldnt' be much savings, but I remember you
saying a long time ago that ConstStrings are a huge source of memory usage
in LLDB. So it seems like if we could ref-count when possible, it would be
a major savings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160919/65f8fced/attachment-0001.html>
More information about the lldb-dev
mailing list