summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-05-06 19:47:07 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-05-06 20:18:26 +0300
commit1554bdb6bd59f09d5c3f3d23fdd62eaa54d83654 (patch)
tree1900de3de1016a59f21341047dd6342b55698fda /alloc.c
parent645217b389159013b2407b29641efbcb1a588483 (diff)
downloadbdwgc-1554bdb6bd59f09d5c3f3d23fdd62eaa54d83654.tar.gz
Change default GC_time_limit value from 50 to 15 ms
* alloc.c [(!GC_TIME_LIMIT || CPPCHECK) && !PARALLEL_MARK] (GC_time_limit): Change value from 50 to 15. * pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL && GC_ENABLE_SUSPEND_THREAD && (!GC_TIME_LIMIT || CPPCHECK)] (GC_brief_async_signal_safe_sleep): Likewise. * doc/gcdescr.md (Generational Collection and Dirty Bits): Change the default value of predetermined amount of time from 50 ms to 15 ms.
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alloc.c b/alloc.c
index 6dbca6c4..8f0b6c35 100644
--- a/alloc.c
+++ b/alloc.c
@@ -183,7 +183,7 @@ GC_INNER int GC_CALLBACK GC_never_stop_func(void)
/* The parallel marker cannot be interrupted for */
/* now, so the time limit is absent by default. */
#else
- unsigned long GC_time_limit = 50;
+ unsigned long GC_time_limit = 15;
#endif
#ifndef NO_CLOCK