diff options
author | Jason Molenda <jason@molenda.com> | 2022-04-05 12:47:17 -0700 |
---|---|---|
committer | Jason Molenda <jason@molenda.com> | 2022-04-05 12:49:40 -0700 |
commit | ee394177e6b797917e4d8e0d786d84046599d2c5 (patch) | |
tree | b1c9f7a0e7465b22e03c59e62261d4efd0351785 /clang/lib/Basic/Module.cpp | |
parent | 7c53fc4fe1308f5b2a7527d14ea41fabb18109b8 (diff) | |
download | llvm-ee394177e6b797917e4d8e0d786d84046599d2c5.zip llvm-ee394177e6b797917e4d8e0d786d84046599d2c5.tar.gz llvm-ee394177e6b797917e4d8e0d786d84046599d2c5.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions