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:39:13 +0300

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: Helmut Eller <eller.helmut@gmail.com>, Eli Zaretskii <eliz@gnu.org>,
>  emacs-devel@gnu.org
> Date: Fri, 21 Jun 2024 07:50:05 +0000
> 
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> 
> > Could we park or clamp the arena while profiling?
> 
> 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.

Profiler's SIGPROF handler is NOT supposed to run for a long time.  If
you disagree, please show the code called from the handler that can
run for a long time.

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.



reply via email to

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