[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Merging scratch/no-purespace to remove unexec and purespace
From: |
Helmut Eller |
Subject: |
Re: Merging scratch/no-purespace to remove unexec and purespace |
Date: |
Wed, 18 Dec 2024 07:56:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Tue, Dec 17 2024, Stefan Monnier wrote:
>> Do you have an estimate what removing purespace will cost in terms of GC
>> time? I mean something like "1ms per collection". Or perhaps a
>> suggestion how I could measure it?
>
> In the pdump case it should have no effect at all, or maybe even
> a slight *speedup*.
>
> That's because the pdump already fails to take advantage of the
> purespace (i.e. the GC traces through the purespace like the rest of
> the heap).
So the pdumper copies objects from purespace to the dump like normal
objects; when loading the dump, purespace stays empty.
I had (wrongly) assumed that the pdumper creates a separate section for
pure objects. Creating such a section sounds easy enough (hmm, maybe
not so easy because of hashtables). Still not sure if it would be worth
the effort.
Helmut
Re: Merging scratch/no-purespace to remove unexec and purespace, Helmut Eller, 2024/12/17
Re: Merging scratch/no-purespace to remove unexec and purespace,
Helmut Eller <=
Re: Merging scratch/no-purespace to remove unexec and purespace, Helmut Eller, 2024/12/21
Re: Merging scratch/no-purespace to remove unexec and purespace, Gerd Möllmann, 2024/12/21
Re: Merging scratch/no-purespace to remove unexec and purespace, Stefan Kangas, 2024/12/21
Re: Merging scratch/no-purespace to remove unexec and purespace, Pip Cet, 2024/12/22
Re: Merging scratch/no-purespace to remove unexec and purespace, Eli Zaretskii, 2024/12/22
Re: Merging scratch/no-purespace to remove unexec and purespace, Pip Cet, 2024/12/22
Re: Merging scratch/no-purespace to remove unexec and purespace, Stefan Monnier, 2024/12/22
Re: Merging scratch/no-purespace to remove unexec and purespace, Gerd Möllmann, 2024/12/22
Re: Merging scratch/no-purespace to remove unexec and purespace, Pip Cet, 2024/12/22
Re: Merging scratch/no-purespace to remove unexec and purespace, Helmut Eller, 2024/12/22