diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-05-15 22:29:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-05-15 22:29:59 -0700 |
commit | 506cb6b8dfd3ad55bc0bef4701bbea396e9b05ac (patch) | |
tree | 89214cadcdcd83b88745a42865d6b2a15bf5f17b /checkman.txr | |
parent | 85e4b2948071d4b219dd8de1b1acf5b131deb156 (diff) | |
download | txr-506cb6b8dfd3ad55bc0bef4701bbea396e9b05ac.tar.gz txr-506cb6b8dfd3ad55bc0bef4701bbea396e9b05ac.tar.bz2 txr-506cb6b8dfd3ad55bc0bef4701bbea396e9b05ac.zip |
Bugfix: recycled conses play nice with gen GC.
* lib.c (cons): When we recycle a cons, it could
be already in the mature generation. In that case,
baby objects stored in its car or cdr violate the
integrity of the heap. We must hint about this
to the garbage collector. Test case:
./txr --gc-debug -p "(list* 'foo (zip
'(a) (repeat '((gensym)))))"
Diffstat (limited to 'checkman.txr')
0 files changed, 0 insertions, 0 deletions