Reduce thread count to reduce stack frame size

reviewable/pr14459/r1
Vijay Pai 7 years ago
parent 9d7e57cac4
commit d71b55db98
  1. 4
      test/core/gpr/mpscq_test.cc
  2. 2
      test/core/gprpp/thd_test.cc

@ -146,8 +146,8 @@ static void test_mt_multipop(void) {
gpr_log(GPR_DEBUG, "test_mt_multipop");
gpr_event start;
gpr_event_init(&start);
grpc_core::Thread thds[100];
grpc_core::Thread pull_thds[100];
grpc_core::Thread thds[50];
grpc_core::Thread pull_thds[50];
thd_args ta[GPR_ARRAY_SIZE(thds)];
gpr_mpscq q;
gpr_mpscq_init(&q);

@ -30,7 +30,7 @@
#include "test/core/util/test_config.h"
#define NUM_THREADS 300
#define NUM_THREADS 100
struct test {
gpr_mu mu;

Loading…
Cancel
Save