[PATCH] D61088: [scudo][standalone] Introduce the SizeClassMap

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 13:18:22 PDT 2019


cryptoad created this revision.
cryptoad added reviewers: vitalybuka, eugenis, hctim, morehouse.
Herald added subscribers: Sanitizers, delcypher, mgorny, srhines.
Herald added projects: LLVM, Sanitizers.

As with the sanitizer_common allocator, the SCM allows for efficient
mapping between sizes and size-classes, table-free.

It doesn't depart significantly from the original, except that we
allow the use of size-class 0 for other purposes (as opposed to
chunks of size 0). The Primary will use it to hold TransferBatches.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D61088

Files:
  lib/scudo/standalone/CMakeLists.txt
  lib/scudo/standalone/common.h
  lib/scudo/standalone/size_class_map.h
  lib/scudo/standalone/tests/CMakeLists.txt
  lib/scudo/standalone/tests/size_class_map_test.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61088.196509.patch
Type: text/x-patch
Size: 8118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190424/11d7d103/attachment.bin>


More information about the llvm-commits mailing list