emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: Please check if scratch/igc builds with native compilation


From: Helmut Eller
Subject: Re: MPS: Please check if scratch/igc builds with native compilation
Date: Thu, 23 May 2024 09:12:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Thu, May 23 2024, Gerd Möllmann wrote:

> Helmut Eller <eller.helmut@gmail.com> writes:
>
>>> In summary, I think this is an improvement.
>>
>> I also think that roots should be registered before top_level_run is
>> executed.
>
> Could you please elaborate?

AFAIU, top_level_run executes the top level code of a file.  I.e. it
usually creates a lot of functions and puts them into the
symbol-function slots; for lambdas it puts the subr in d_reloc (see
comp--register-lambda).

In general, top_level_run can trigger GC flips because it calls
make_subr a lot.  It would be problematic if d_reloc where not traced
during those GC flips.  text_data_reloc_eph probably too, but I have no
clue what that is for.



reply via email to

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