emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: weak hash tables


From: Gerd Möllmann
Subject: Re: MPS: weak hash tables
Date: Sat, 06 Jul 2024 08:20:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Pip Cet <pipcet@protonmail.com> writes:

> On Saturday, July 6th, 2024 at 03:39, Gerd Möllmann 
> <gerd.moellmann@gmail.com> wrote:
>> Pip Cet pipcet@protonmail.com writes:
>> 
>> > What I'm doing right now is alternating usleep(10000) and
>> > igc_collect() in a secondary thread. That crashes somewhat
>> > reproducibly in interactive sessions.
>> 
>> Could you please make that available in some form?
>
> Sure. I was thinking about cleaning it up (usleep is non-standard) and
> committing it behind a stress-test option, actually.

Thanks! If it's not too bad performance-wise, I was thinking of running
it in the Emacs I'm normally using, in parallel to the rest.
>
> Right now it's dying because specpdl is a union type and GC might hit
> while the main thread leaves it in a partially-initialized state. I
> vaguely recall turning it into a struct for that reason on another
> branch years ago...

Shit. That could mean that we have to scan specpdl amiguously.




reply via email to

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