[all-commits] [llvm/llvm-project] 1eee6d: [Orc][JITLink] Slab based memory allocator to redu...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Mon Aug 8 02:44:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1eee6de873974f55538df976bf7802f019eac70a
      https://github.com/llvm/llvm-project/commit/1eee6de873974f55538df976bf7802f019eac70a
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MapperJITLinkMemoryManager.h
    M llvm/lib/ExecutionEngine/Orc/MapperJITLinkMemoryManager.cpp
    M llvm/unittests/ExecutionEngine/Orc/MapperJITLinkMemoryManagerTest.cpp

  Log Message:
  -----------
  [Orc][JITLink] Slab based memory allocator to reduce RPC calls

Calling reserve() used to require an RPC call. This commit allows large
ranges of executor address space to be reserved. Subsequent calls to
reserve() will return subranges of already reserved address space while
there is still space available.

Differential Revision: https://reviews.llvm.org/D130392




More information about the All-commits mailing list