fix allocators list
@@ -492,7 +492,7 @@ module LINK_UNIT: BASE_UNIT {
}
when (($MUSL != "yes" && $WITH_VALGRIND == "yes") || $SANITIZER_DEFINED == "yes") {
- when ($ALLOCATOR in [ "GOOGLE", "J", "LF", "LF_YT", "LF_DBG", "B", "BS" ]) {
+ when ($ALLOCATOR in [ "GOOGLE", "J", "LF", "LF_YT", "LF_DBG", "B", "BS", "C" ]) {
PEERDIR+=library/malloc/system
}
}
@@ -1632,7 +1632,7 @@ macro USE_PERL_LIB() {
### @usage ALLOCATOR(Alloc) # Default: LF
### Set allocator implementation for a program
### This may only be specified for programs. Use inside LIBRARY ALLOCATOR() END() leads to errors and stop the build.
-### Available allocators are: "LF", "LF_YT", "LF_DBG", "J", "B", "BS", "GOOGLE", "LOCKLESS", "SYSTEM", "FAKE"
+### Available allocators are: "LF", "LF_YT", "LF_DBG", "J", "B", "BS", "C", "GOOGLE", "LOCKLESS", "SYSTEM", "FAKE"
### LF - lfalloc (https://a.yandex-team.ru/arc/trunk/arcadia/library/lfalloc)
### LF_YT - Allocator selection for YT (https://a.yandex-team.ru/arc/trunk/arcadia/library/lfalloc/yt/ya.make)
### LF_DBG - Debug allocator selection(https://a.yandex-team.ru/arc/trunk/arcadia/library/lfalloc/dbg/ya.make)
@@ -1641,6 +1641,7 @@ macro USE_PERL_LIB() {
### Discussion: https://ironpeter.at.yandex-team.ru/replies.xml?item_no=126
### Code: https://a.yandex-team.ru/arc/trunk/arcadia/library/balloc
### BS - The balloc allocator with leak sanitizer (https://a.yandex-team.ru/arc/trunk/arcadia/library/balloc/sanitize)
+### C - Like B, but can be disabled for each thread to LF or SYSTEM one (B can be disabled only to SYSTEM)
### GOOGLE - Google TCMalloc (https://a.yandex-team.ru/arc/trunk/arcadia/library/malloc/galloc)
### LOCKLESS - Allocator based upon lockless queues (https://a.yandex-team.ru/arc/trunk/arcadia/library/malloc/lockless)
### SYSTEM - Use target system allocator
