aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/malloc/jemalloc
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/malloc/jemalloc
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/malloc/jemalloc')
-rw-r--r--library/cpp/malloc/jemalloc/malloc-info.cpp14
-rw-r--r--library/cpp/malloc/jemalloc/ya.make14
2 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/malloc/jemalloc/malloc-info.cpp b/library/cpp/malloc/jemalloc/malloc-info.cpp
index 060cce9fa9..2643ca4766 100644
--- a/library/cpp/malloc/jemalloc/malloc-info.cpp
+++ b/library/cpp/malloc/jemalloc/malloc-info.cpp
@@ -1,5 +1,5 @@
#include <library/cpp/malloc/api/malloc.h>
-
+
using namespace NMalloc;
#if defined(_MSC_VER)
@@ -12,7 +12,7 @@ TMallocInfo NMalloc::MallocInfo() {
#include <strings.h>
#include <stdlib.h>
#include <inttypes.h>
-
+
#include <contrib/libs/jemalloc/include/jemalloc/jemalloc.h>
namespace {
@@ -55,11 +55,11 @@ namespace {
}
}
-TMallocInfo NMalloc::MallocInfo() {
- TMallocInfo r;
- r.Name = "jemalloc";
+TMallocInfo NMalloc::MallocInfo() {
+ TMallocInfo r;
+ r.Name = "jemalloc";
r.SetParam = JESetParam;
r.GetParam = JEGetParam;
- return r;
-}
+ return r;
+}
#endif
diff --git a/library/cpp/malloc/jemalloc/ya.make b/library/cpp/malloc/jemalloc/ya.make
index 0398578d6c..99db474eab 100644
--- a/library/cpp/malloc/jemalloc/ya.make
+++ b/library/cpp/malloc/jemalloc/ya.make
@@ -1,9 +1,9 @@
-LIBRARY()
-
+LIBRARY()
+
NO_UTIL()
-
-OWNER(nga)
-
+
+OWNER(nga)
+
IF (OS_ANDROID)
PEERDIR(
library/cpp/malloc/system
@@ -17,5 +17,5 @@ ELSE()
malloc-info.cpp
)
ENDIF()
-
-END()
+
+END()