summaryrefslogtreecommitdiffstats
path: root/tl.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-12-31 06:45:48 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-12-31 06:45:48 -0800
commitee8addba7324e8bd66f107360051a6f200203dc5 (patch)
tree8f1a8579937b0fc86a0838cca4be9d842ebda96a /tl.vim
parentbf7675efa96490f8c950b494bd42657391e03b4c (diff)
downloadtxr-ee8addba7324e8bd66f107360051a6f200203dc5.tar.gz
txr-ee8addba7324e8bd66f107360051a6f200203dc5.tar.bz2
txr-ee8addba7324e8bd66f107360051a6f200203dc5.zip
gc: fix unnecessary full gc request in finalization.
* gc.c (call_finalizers_impl): Objects are only added to freshobj if they are in the zero generation. We should skip that entire block of code if the object isn't in that generation. Not only is it wasteful to execute that code for the mature generation, but the logic falsely sets the full_gc flag whenever processing a non-gen-0 object!
Diffstat (limited to 'tl.vim')
0 files changed, 0 insertions, 0 deletions