[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix to long-standing crashes in GC
From: |
Kim F. Storm |
Subject: |
Re: Fix to long-standing crashes in GC |
Date: |
31 May 2004 22:21:36 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Stefan Monnier <address@hidden> writes:
> >> The sweep step simply has to be atomic, just like most of the GC itself
> >> (afterall, that's why the mark&sweep algorithm is in the category called
> >> "stop-the-world").
>
> > True -- but if you try to debug GC errors, I prefer the code to be as
> > safe as possible.
>
> If you want it for debugging purposes, feel free to switch the sweeping
> of strings w.r.t the sweeping of cons cells. I've never had to debug in
> there, so I wouldn't have any preference either way. As I said, it
> shouldn't make any difference w.r.t to correctness.
> The two "reasons" why I undid this part of your change were:
> - you also moved the sweeping of cons cells to before the sweeping of weak
> hash tables, which sounds seriously wrong.
> - I started from a full undo of your patch.
>
Ok, I'll leave things as they are -- and remember the issue if I have
to look into GC again later.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Fix to long-standing crashes in GC, (continued)
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/19
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/22
- Re: Fix to long-standing crashes in GC, Stefan Monnier, 2004/05/23
- Re: Fix to long-standing crashes in GC, Richard Stallman, 2004/05/23
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/24
- Re: Fix to long-standing crashes in GC, Stefan Monnier, 2004/05/28
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/29
- Re: Fix to long-standing crashes in GC, Stefan Monnier, 2004/05/29
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/29
- Re: Fix to long-standing crashes in GC, Stefan Monnier, 2004/05/30
- Re: Fix to long-standing crashes in GC,
Kim F. Storm <=
- Re: Fix to long-standing crashes in GC, Richard Stallman, 2004/05/20
- Re: Fix to long-standing crashes in GC, Stefan Monnier, 2004/05/22
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/19
- Re: Fix to long-standing crashes in GC, Stefan Monnier, 2004/05/19
- Re: Fix to long-standing crashes in GC, Kim F. Storm, 2004/05/19
- Re: Fix to long-standing crashes in GC, Richard Stallman, 2004/05/20
Re: Fix to long-standing crashes in GC, Robert Anderson, 2004/05/13