File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2321,7 +2321,10 @@ AppleObjCRuntimeV2::SharedCacheClassInfoExtractor::UpdateISAToDescriptorMap() {
2321
2321
2322
2322
// The number of entries to pre-allocate room for.
2323
2323
// Each entry is (addrsize + 4) bytes
2324
- const uint32_t max_num_classes = 163840 ;
2324
+ // 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 ;
2325
2328
2326
2329
UtilityFunction *get_class_info_code = GetClassInfoUtilityFunction (exe_ctx);
2327
2330
if (!get_class_info_code) {
You can’t perform that action at this time.
0 commit comments