From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: profiler Date: Fri, 21 Jun 2024 13:39:13 +0300 Message-ID: <86r0cqlgvi.fsf@gnu.org> References: <87v823xvq1.fsf@localhost> <86cyobmmhc.fsf@gnu.org> <87r0crxung.fsf@localhost> <87le2zxsqx.fsf@localhost> <8634p6n7jd.fsf@gnu.org> <87tthm3gq2.fsf@gmail.com> <87msneag5u.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20583"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, eller.helmut@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 21 12:39:45 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sKbgG-00055z-P2 for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jun 2024 12:39:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKbfs-0001pV-T7; Fri, 21 Jun 2024 06:39:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKbfr-0001pM-Q3 for emacs-devel@gnu.org; Fri, 21 Jun 2024 06:39:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKbfr-0001x3-B5; Fri, 21 Jun 2024 06:39:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=A1evmYehEOlQXHoSjkW8O34REnfMa/JQiCnjsRSvpmw=; b=KGF1CG8SL6zuksj8ptkz 1FSlMNFfz5QtVmND9hwvZWQzWHnDGI8WcU99MEwPeB4YbqeJOa7iSDAseLrvNUguDL7n0MuCcds0N NYNqlhYly9C2KJtC4ZhyBXuIYIS6lDphmrd4ay1b2/4pxl2ahPPJKQVKeWSFJLpIwGKQMN14AV0bE oBcejesWHjqWkGKuaKDt2JTBAmtMwzmKb5sXz1MVO44yZMYWU3rgVOjs3QySEz6kbMphsrgPJn+eM Ia+tPk795FZWoiTzoGUCf1rOKP6E9EDn590H8X1Nr3V2jtXPTkbSvRTbuJoQiDa1p+c5O15MarEzp g8BvmVWYy7Yr3g==; In-Reply-To: <87msneag5u.fsf@localhost> (message from Ihor Radchenko on Fri, 21 Jun 2024 07:50:05 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320380 Archived-At: > From: Ihor Radchenko > Cc: Helmut Eller , Eli Zaretskii , > emacs-devel@gnu.org > Date: Fri, 21 Jun 2024 07:50:05 +0000 > > Gerd Möllmann 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.