[all-commits] [llvm/llvm-project] ee3941: Refine memory buffer for importing shared cache ob...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Tue Apr 5 12:49:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee394177e6b797917e4d8e0d786d84046599d2c5
https://github.com/llvm/llvm-project/commit/ee394177e6b797917e4d8e0d786d84046599d2c5
Author: Jason Molenda <jason at molenda.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
Log Message:
-----------
Refine memory buffer for importing shared cache objc class list
In https://reviews.llvm.org/D118972 I increased this buffer to be
big enough to import 261,144 classes but this is a lot more than
we currently have, an allocating a too-large buffer can add memory
pressure even if it's only for a short time. Reduce the size of
this memory buffer to big enough to import 163,840 classes. I'll
probably move to a scheme where we read the objc classes in chunks,
with a smaller buffer and multiple inferior function calls.
rdar://91275493
More information about the All-commits
mailing list