diff options
author | dzats <dzats@yandex-team.ru> | 2022-02-10 16:49:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:37 +0300 |
commit | 25972584abddd173801b48d92f8719e83af797b1 (patch) | |
tree | 514041b54afc1ce5d33b6f1c4de17f7fa4765aa7 /library/cpp/lfalloc/lf_allocX64.h | |
parent | c74cff1222c5ff97080e38da5019b2520991a526 (diff) | |
download | ydb-25972584abddd173801b48d92f8719e83af797b1.tar.gz |
Restoring authorship annotation for <dzats@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lfalloc/lf_allocX64.h')
-rw-r--r-- | library/cpp/lfalloc/lf_allocX64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/lfalloc/lf_allocX64.h b/library/cpp/lfalloc/lf_allocX64.h index fd2a906d6f..cc0aac8523 100644 --- a/library/cpp/lfalloc/lf_allocX64.h +++ b/library/cpp/lfalloc/lf_allocX64.h @@ -9,7 +9,7 @@ #include <util/system/compat.h> #include <util/system/compiler.h> #include <util/system/types.h> - + #ifdef _MSC_VER #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS @@ -454,7 +454,7 @@ static void* LargeBlockAlloc(size_t _nSize, ELFAllocCounter counter) { char* pRes = (char*)VirtualAlloc(0, (pgCount + 1) * 4096ll, MEM_COMMIT, PAGE_READWRITE); if (Y_UNLIKELY(pRes == 0)) { NMalloc::AbortFromCorruptedAllocator("out of memory"); - } + } #else IncrementCounter(counter, pgCount * 4096ll); |