emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: Forwording symbols


From: Gerd Möllmann
Subject: Re: MPS: Forwording symbols
Date: Tue, 18 Jun 2024 21:55:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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

> On Tue, Jun 18 2024, Gerd Möllmann wrote:
>
>> I meant the mirroring code. I find it still funny that I completely
>> overlooked the idea of simply loading the dump into an area allocated
>> from MPS :-). Instead: here's a object graph, or graph(s), - and wee
>> let's copy them :-). Really strange :-).
>
> All the examples in the documentation for mps_reserve, allocate a single
> object.  That was probably the reason why I didn't even consider the
> possibility that it can also be used to allocate many objects or an
> array of objects.  I only noticed that MPS makes a distinction between
> blocks and objects, when I was re-reading the documentation to see if
> what MPS calls object formats is the same as what I called layout in the
> codegen.

Yes, good catch :-). 

> BTW, MPS also has a pool for stacks.  Maybe prstack etc. could use that.

Yeah.

I would also find using allocation frames interesting. Alas the
best usage example of dumping which allocates lots of objects that are
dead after dumping doesn't happen very often :-).




reply via email to

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