[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppressing native compilation (short and long term)
From: |
Andrea Corallo |
Subject: |
Re: Suppressing native compilation (short and long term) |
Date: |
Sat, 15 Oct 2022 15:06:41 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Andrea Corallo [2022-10-14 22:37:51] wrote:
>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>>> So we need a recursion blocker in the trampoline generation function.
>>> Or -- since trampolines are really fast to generate and we need to do
>>> that synchronously anyway -- we could just avoid forking an Emacs do
>>> create the trampoline?
>> We don't do that because libgccjit (well GCC really) leaks memory.
>
> But we can do that *in the forked Emacs* (this one will exit after
> compilation, so leakage is not an issue), so we do fork once but we avoid
> forking infinitely.
Hi Stefan,
by *in the forked Emacs* you mean Emacs just after fork is called or
after calling fork+exec to start a fresh session?
Andrea
- Re: Re: Suppressing native compilation (short and long term), (continued)
- Re: Re: Suppressing native compilation (short and long term), Pedro Andres Aranda Gutierrez, 2022/10/06
- Re: Suppressing native compilation (short and long term), Liliana Marie Prikler, 2022/10/13
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/10/13
- Re: Suppressing native compilation (short and long term), Liliana Marie Prikler, 2022/10/13
- Re: Suppressing native compilation (short and long term), Stefan Monnier, 2022/10/13
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/10/13
- Re: Suppressing native compilation (short and long term), Lars Ingebrigtsen, 2022/10/13
- Re: Suppressing native compilation (short and long term), Lars Ingebrigtsen, 2022/10/13
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/10/14
- Re: Suppressing native compilation (short and long term), Stefan Monnier, 2022/10/14
- Re: Suppressing native compilation (short and long term),
Andrea Corallo <=
- Re: Suppressing native compilation (short and long term), Stefan Monnier, 2022/10/15
- Re: Suppressing native compilation (short and long term), Lars Ingebrigtsen, 2022/10/15
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/10/15
- Re: Suppressing native compilation (short and long term), Lars Ingebrigtsen, 2022/10/16
- Re: Suppressing native compilation (short and long term), Liliana Marie Prikler, 2022/10/16
- Re: Suppressing native compilation (short and long term), Stefan Monnier, 2022/10/16
- Re: Suppressing native compilation (short and long term), Lars Ingebrigtsen, 2022/10/16
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/10/19
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/10/14
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/10/14