[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing GC protection in Fbyte_code
From: |
Richard Stallman |
Subject: |
Re: missing GC protection in Fbyte_code |
Date: |
Sun, 22 Aug 2004 19:39:45 -0400 |
The comment for Bvarbind is a bit more explicit and mentions that it's
because the code can call Fsignal which itself can GC. I think the reason
why it can GC is because of Vsignal_hook_function (used by edebug).
Fsignal doesn't return, so the local variables of all frames within
the innermost error handler or Lisp call frame are not going to be
used again. Therefore, there is no need to protect any of them on
Fsignal's account.
If it is really necessary to gcpro because you call a function that
calls Fsignal, we would need to add lots of gcpros all around.
So I think it would be better to change the mechanism to make
this unnecessary.
- missing GC protection in Fbyte_code, Dave Love, 2004/08/20
- Re: missing GC protection in Fbyte_code, Richard Stallman, 2004/08/21
- Re: missing GC protection in Fbyte_code, Stefan Monnier, 2004/08/21
- Re: missing GC protection in Fbyte_code,
Richard Stallman <=
- Re: missing GC protection in Fbyte_code, Stefan Monnier, 2004/08/22
- Re: missing GC protection in Fbyte_code, Dave Love, 2004/08/23
- Re: missing GC protection in Fbyte_code, Richard Stallman, 2004/08/24
- Re: missing GC protection in Fbyte_code, Stefan Monnier, 2004/08/24
- Re: missing GC protection in Fbyte_code, Richard Stallman, 2004/08/25
- Re: missing GC protection in Fbyte_code, Dave Love, 2004/08/23