summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2013-12-09 11:21:53 +0100
committerManuel Mohr <manuel.mohr@kit.edu>2013-12-09 11:27:00 +0100
commit1537d7a714af1300fab969ca887068f219fdab1f (patch)
treeee1e43006615ac927d8fee5fd4120b87a99ac160
parent1020df289a88e38150094aff7c798a293679a6c7 (diff)
Reduce stack clearance sizes.
Do we need this at all?
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index d6a85a7..6db67af 100644
--- a/misc.c
+++ b/misc.c
@@ -303,8 +303,8 @@ GC_INNER void GC_extend_size_map(size_t i)
* sections of the stack whenever we get control.
*/
# ifdef THREADS
-# define BIG_CLEAR_SIZE 2048 /* Clear this much now and then. */
-# define SMALL_CLEAR_SIZE 256 /* Clear this much every time. */
+# define BIG_CLEAR_SIZE 64 /* Clear this much now and then. */
+# define SMALL_CLEAR_SIZE 16 /* Clear this much every time. */
# else
STATIC word GC_stack_last_cleared = 0; /* GC_no when we last did this */
STATIC ptr_t GC_min_sp = NULL;