HomePhabricator

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

Authored by teemperor on Oct 16 2019, 5:02 PM.

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.

llvm-svn: 375062

Details

Committed
teemperorOct 16 2019, 5:02 PM
Parents
rGf4f120125ead: [Reproducer] Support dumping the reproducer CWD
Branches
Unknown
Tags
Unknown