From a00e560b0d8267e9b376e5c0e6a2139a7be63281 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 19 Dec 2022 16:06:16 +0000 Subject: Remove stacksize from the thread pools and thread executors. --- .../util/generationhandler_stress/generation_handler_stress_test.cpp | 4 ++-- vespalib/src/tests/util/rcuvector/rcuvector_test.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'vespalib/src/tests/util') diff --git a/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp b/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp index fd2769fd8b1..1cc54da7f2e 100644 --- a/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp +++ b/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp @@ -97,7 +97,7 @@ Fixture::Fixture() : ::testing::Test(), _generationHandler(), _readThreads(1), - _writer(1, 128_Ki), + _writer(1), _readers(), _doneWriteWork(0), _doneReadWork(0), @@ -131,7 +131,7 @@ Fixture::set_read_threads(uint32_t read_threads) _readers->shutdown(); } _readThreads = read_threads; - _readers = std::make_unique(read_threads, 128_Ki); + _readers = std::make_unique(read_threads); } void diff --git a/vespalib/src/tests/util/rcuvector/rcuvector_test.cpp b/vespalib/src/tests/util/rcuvector/rcuvector_test.cpp index 5d6ec3050da..b842d009ce8 100644 --- a/vespalib/src/tests/util/rcuvector/rcuvector_test.cpp +++ b/vespalib/src/tests/util/rcuvector/rcuvector_test.cpp @@ -420,8 +420,8 @@ StressFixture::StressFixture() stop_read(false), read_area(1000), generation_handler(), - writer(1, 128_Ki), - readers(4, 128_Ki) + writer(1), + readers(4) { arr.ensure_size(read_area, AtomicIntWrapper(0)); } -- cgit v1.2.3