diff options
author | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-09 23:39:40 +0300 |
---|---|---|
committer | ilnurkh <ilnurkh@yandex-team.com> | 2023-10-09 23:57:14 +0300 |
commit | e601ca03f859335d57ecff2e5aa6af234b6052ed (patch) | |
tree | de519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/coroutine/engine/stack/benchmark | |
parent | bbf2b6878af3854815a2c0ecb07a687071787639 (diff) | |
download | ydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz |
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/coroutine/engine/stack/benchmark')
-rw-r--r-- | library/cpp/coroutine/engine/stack/benchmark/alloc_bm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/coroutine/engine/stack/benchmark/alloc_bm.cpp b/library/cpp/coroutine/engine/stack/benchmark/alloc_bm.cpp index 0a71b02e62..6573dd0dc9 100644 --- a/library/cpp/coroutine/engine/stack/benchmark/alloc_bm.cpp +++ b/library/cpp/coroutine/engine/stack/benchmark/alloc_bm.cpp @@ -17,14 +17,14 @@ namespace NCoro::NStack::NBenchmark { constexpr size_t ManyStacks = 4096; void BasicOperations(TStackHolder& stack) { - Y_VERIFY(!stack.Get().empty()); + Y_ABORT_UNLESS(!stack.Get().empty()); stack.LowerCanaryOk(); stack.UpperCanaryOk(); } void WriteStack(TStackHolder& stack) { auto memory = stack.Get(); - Y_VERIFY(!memory.empty()); + Y_ABORT_UNLESS(!memory.empty()); stack.LowerCanaryOk(); stack.UpperCanaryOk(); for (size_t i = PageSize / 2; i < memory.size(); i += PageSize * 2) { |