emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS symbols


From: Gerd Möllmann
Subject: Re: MPS symbols
Date: Fri, 28 Jun 2024 16:13:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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

> On Fri, Jun 28 2024, Gerd Möllmann wrote:
>
>> igc--roots is a DEFUN in igc.c returning information about roots. In the
>> end, the plan is that every root has a label, and all are displayed in
>> igc-roots-stats, so that one can see what is going on wrt roots over
>> time.
>
> Hm, I see some odd numbers in *igc roots*:
>
> bc-stack                       ambig               1         4194304
> pure                           ambig               1        41333328
>
> 40 MB pure space :-).  It looks like PURESIZE isn't the number of words
> but the number of bytes.  Or so it seems in alloc.c:
>
> EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof
> (EMACS_INT)] = {1,};

Haven't seen that - mine has no pure space :-).

> 4 MB bc-stack also seems a lot.  But it's less obviously wrong.

It's actually large, at least in principle. Hence my attempt to figure
out a more reasonable end address in scan_bc

  #define BC_STACK_SIZE (512 * 1024 * sizeof (Lisp_Object))

> It helps to sometimes look at basic things :-)

👍 



reply via email to

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