Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee591a9 + c88a56e commit 6fecd7aCopy full SHA for 6fecd7a
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -2321,7 +2321,10 @@ AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap() {
2321
2322
// The number of entries to pre-allocate room for.
2323
// Each entry is (addrsize + 4) bytes
2324
- const uint32_t max_num_classes = 163840;
+ // FIXME: It is not sustainable to continue incrementing this value every time
2325
+ // the shared cache grows. This is because it requires allocating memory in
2326
+ // the inferior process and some inferior processes have small memory limits.
2327
+ const uint32_t max_num_classes = 212992;
2328
2329
UtilityFunction *get_class_info_code = GetClassInfoUtilityFunction(exe_ctx);
2330
if (!get_class_info_code) {
0 commit comments