[all-commits] [llvm/llvm-project] b12cd6: [lldb] Use batched memory reads in ClassDescriptor...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu Jun 4 01:23:55 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b12cd6aa2faac1af50ee332c30a3e863dc462d7d
      https://github.com/llvm/llvm-project/commit/b12cd6aa2faac1af50ee332c30a3e863dc462d7d
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.h

  Log Message:
  -----------
  [lldb] Use batched memory reads in ClassDescriptorV2::relative_list_entry_t (#201284)

This reduces the number of memory reads performed when reading Objective
C classes metadata.
Note: these addresses are indeed sequential (with a small offset between
them), but there are so many of them that they would not fit into a
single Process::ReadMemory cache line, so this is still a win, and it
also puts the code into the right shape for vectorizing the next read in
the same loop, which will see the biggest savings.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list