summaryrefslogtreecommitdiffstats
path: root/signal.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-27 10:25:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-27 10:25:54 -0700
commitba911c661c4a3607c80dcd0c30d4313e558a9243 (patch)
tree18dea7bbd3ea0813320997e901ab40511b540438 /signal.h
parente5145afe93cd5290878ac432aea87da9c70d1263 (diff)
downloadtxr-ba911c661c4a3607c80dcd0c30d4313e558a9243.tar.gz
txr-ba911c661c4a3607c80dcd0c30d4313e558a9243.tar.bz2
txr-ba911c661c4a3607c80dcd0c30d4313e558a9243.zip
Full gc should be done if driven by malloc.
* gc.c (gc): If the number of bytes malloced since the last gc exceeds the gc delta, we must do do a full garbage collection. The mature generation is almost certainly holding on to a lot of that memory. A test case for this is (lazy-str-force (lazy-str (get-lines (open-file "file")))). The file doesn't even have to be very large.
Diffstat (limited to 'signal.h')
0 files changed, 0 insertions, 0 deletions