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 13:58:26 +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 10:57:12 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Profiler might be running for a long time. If I understand correctly,
> >> parking anything for a long time risks that "anything" to be not
> >> garbage-collected at all.
> >
> > ...
> > Or maybe I misunderstood you suggestion (or that of Gerd): to me,
> > "while profileing" means just while the profiler's SIGPROF handler
> > runs, nut the whole time profiler is active.
> 
> My understanding that the suggested parking was for the time profiler is
> active in Emacs (that is: between M-x profiler-start and M-x
> profiler-stop).

That's unreasonable and impractical.  Gerd, was this what you
suggested?

> 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".



reply via email to

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