[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should catchlist elements be marked during GC?
From: |
Kim F. Storm |
Subject: |
Re: Should catchlist elements be marked during GC? |
Date: |
Thu, 13 Jul 2006 23:41:30 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> During GC, we don't explicitly go through the catchlist, marking the
>> TAG and VAL member of each element.
>
> What makes you say so?
Since struct catchtag is defined in eval.c, I didn't think alloc.c
would know how to scan the catchlist, so I didn't even bother to check.
> Actually, it is safe to assume so if we use conservative stack marking
> because the catchlist elements are all allocated on the stack, so we
> currently mark them redundantly.
Ah, yes.
--
Kim F. Storm <address@hidden> http://www.cua.dk