summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-08 07:03:31 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-08 07:03:31 -0700
commit4775f0d69ff6d71332d0508986c62ccc5ab7366a (patch)
treebde074e8c1493e4440703558240e92c9a7eb1e77 /ChangeLog
parent049d706978ccff755ac717456772d4d6a6c0b77f (diff)
downloadtxr-4775f0d69ff6d71332d0508986c62ccc5ab7366a.tar.gz
txr-4775f0d69ff6d71332d0508986c62ccc5ab7366a.tar.bz2
txr-4775f0d69ff6d71332d0508986c62ccc5ab7366a.zip
* gc.c (MALLOC_DELTA_THRESH): Macro remaned to DFL_MALLOC_DELTA_THRESH.
(opt_gc_delta): New global variable. (make_obj): Use opt_gc_delta rather than MALLOC_DELTA_THRESH. (gc_set_delta, gc_wrap): New static functions. (gc_late_init): New function. * gc.h (gc_late_init): Declared. * genvim.txr: scan gc.c also. * lib.c (init): call gc_late_init. * txr.1: Document new --gc-delta option and the functions gc and gc-set-delta. * txr.c (help): Help text for --gc-delta. (txr_main): Parse --gc-delta option. * txr.h (opt_gc_delta): Declared.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f23f8107..2d74bda6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2014-09-08 Kaz Kylheku <kaz@kylheku.com>
+
+ * gc.c (MALLOC_DELTA_THRESH): Macro remaned to DFL_MALLOC_DELTA_THRESH.
+ (opt_gc_delta): New global variable.
+ (make_obj): Use opt_gc_delta rather than MALLOC_DELTA_THRESH.
+ (gc_set_delta, gc_wrap): New static functions.
+ (gc_late_init): New function.
+
+ * gc.h (gc_late_init): Declared.
+
+ * genvim.txr: scan gc.c also.
+
+ * lib.c (init): call gc_late_init.
+
+ * txr.1: Document new --gc-delta option and the functions
+ gc and gc-set-delta.
+
+ * txr.c (help): Help text for --gc-delta.
+ (txr_main): Parse --gc-delta option.
+
+ * txr.h (opt_gc_delta): Declared.
+
2014-09-06 Kaz Kylheku <kaz@kylheku.com>
Make the garbage collector aware of malloced bytes, to