summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQi Wang <interwq@gwu.edu>2022-01-08 01:11:18 (GMT)
committerQi Wang <interwq@gmail.com>2022-01-12 00:58:56 (GMT)
commit648b3b9f768674934c2bbf260bdc75301a63a314 (patch)
treeedd2034a79828c0a1df5c7fd1beab89aa8af719f
parentd66162e032190d74a2071e93049751744975ce55 (diff)
downloadjemalloc-648b3b9f768674934c2bbf260bdc75301a63a314.zip
jemalloc-648b3b9f768674934c2bbf260bdc75301a63a314.tar.gz
jemalloc-648b3b9f768674934c2bbf260bdc75301a63a314.tar.bz2
Lower the num_threads in the stress test of test/unit/prof_recent
This takes a fair amount of resources. Under high concurrency it was causing resource exhaustion such as pthread_create and mmap failures.
-rw-r--r--test/unit/prof_recent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/prof_recent.c b/test/unit/prof_recent.c
index c23b01e..4fb3723 100644
--- a/test/unit/prof_recent.c
+++ b/test/unit/prof_recent.c
@@ -553,7 +553,7 @@ TEST_END
#undef DUMP_ERROR
#undef DUMP_OUT_SIZE
-#define N_THREADS 16
+#define N_THREADS 8
#define N_PTRS 512
#define N_CTLS 8
#define N_ITERS 2048