HomePhabricator

Revert "make ConstString allocate memory in non-tiny chunks"

Description

Revert "make ConstString allocate memory in non-tiny chunks"

As discussed in https://reviews.llvm.org/D68549, the actual issue
here seems to be that the BumpPtrAllocator is growing far too slow
because of the 256 different StringPools used as the backend for ConstString.
At the same time the original patch made ConstString allocate memory in
256MiB slabs for the same reason, meaning that the RSS usage of LLDB increased
by a few hundred MiB for all users without bringing any noticeable speedup
for most of them.

Details

Committed
teemperorWed, Oct 16, 5:02 PM
Parents
rL375061: [Reproducer] Support dumping the reproducer CWD
Branches
Unknown
Tags
Unknown