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: Andrea Corallo
Subject: Re: MPS: Please check if scratch/igc builds with native compilation
Date: Thu, 23 May 2024 03:38:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

Helmut Eller <eller.helmut@gmail.com> writes:

> 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.

+1

> text_data_reloc_eph probably too, but I have no
> clue what that is for.

'd_reloc_eph' is data used only at load time and never again.  Note that
'top_level_run' uses 'd_reloc' as well so yes I believe as well they
need all to be tracked before 'top_level_run' runs.

  Andrea



reply via email to

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