emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 0a5b6e2: Fix aborts in GC under GC_CHECK_MARKED


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] master 0a5b6e2: Fix aborts in GC under GC_CHECK_MARKED_OBJECTS
Date: Wed, 21 Dec 2016 22:40:56 +0200

> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Wed, 21 Dec 2016 15:29:12 -0500
> 
> >     for thread objects.  They are marked via the all_threads list, and
> >     therefore don't need to be inserted into the red-black tree, so
> >     mem_find will never find them.
> 
> Hmm... when are they removed from all_threads?

When the thread exits, see run_thread.

> If they're removed from all_threads when the thread terminates, then
> there can still be references to the thread object stored elsewhere in
> the heap.

They are all unlinked in run_thread, when the thread exits, AFAICT.
Or maybe I don't understand what you mean by "references".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]