emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: profiler


From: Eli Zaretskii
Subject: Re: MPS: profiler
Date: Fri, 21 Jun 2024 14:29:12 +0300

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: gerd.moellmann@gmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org
> Date: Fri, 21 Jun 2024 11:20:53 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Unless I miss something, SIGPROF handler cannot touch the arena to park
> >> it or it will lead to problems exactly like the one I encountered.
> >
> > That depends on what you mean by "park the arena".
> 
> I meant mps_arena_park() as described in
> https://memory-pool-system.readthedocs.io/en/latest/guide/lang.html#tidying-up
> 
> mps_arena_park(arena);        /* ensure no collection is running */
> 
> This is the only meaning of park I can see in the docs.

We cannot disable GC when we profile a program.  It's out of the
question.



reply via email to

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