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: dangling markers Date: Sun, 30 Jun 2024 07:57:06 +0300 Message-ID: <865xtrhvtp.fsf@gnu.org> References: <87v81u85hv.fsf@localhost> <87frsx81m2.fsf@localhost> <87cyo180y2.fsf@localhost> <874j9d7zqe.fsf@localhost> <87sewvg6lw.fsf@localhost> <86ed8fiug3.fsf@gnu.org> <86bk3jirx7.fsf@gnu.org> <868qynipph.fsf@gnu.org> <87wmm75xze.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org, eller.helmut@gmail.com To: Gerd =?iso-8859-1?Q?M=F6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 30 06:57:31 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 1sNmd0-000782-MV for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jun 2024 06:57:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNmci-0005gZ-49; Sun, 30 Jun 2024 00:57:12 -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 1sNmcg-0005gL-IN for emacs-devel@gnu.org; Sun, 30 Jun 2024 00:57:10 -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 1sNmcf-0000e7-VU; Sun, 30 Jun 2024 00:57:09 -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=lx7ET61YUS95Qi6qNkSy+LOgGzOXjtUQ8L65SeHyvmM=; b=KifWGizwakAz+HwWWOFz FRPt/rrXYJl3JfEv/dlom7SXx62cmj8sEXTrudsoai7JZfcMbuEfAcLX20J2O/QxGhc1NZkzhwonk uD9M7FVS5z8bcV2LHLlwS01AN0PzqMNDprqIW2/yb5E4HpCZxXJU5cXyXVopeD0/5fEuO8MVNfywW K1+CrM4uM9Az5IiBXRMTWjPfu/DfXrfd75ixGK/a957DrcDZHSpo7E1jJpMaMhoLCId2x2NCpYS6s wZr8dW8FhO2HZb3sIP0RUanttAgPeISm4sVjja0ujndaEefm8iIa3MJlIjJyh241RosiCRuPQKEBl t/8BzzlkBaj8ow==; In-Reply-To: (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Sat, 29 Jun 2024 23:50:01 +0200) 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:320909 Archived-At: > From: Gerd Möllmann > Cc: Eli Zaretskii , monnier@iro.umontreal.ca, > emacs-devel@gnu.org, eller.helmut@gmail.com > Date: Sat, 29 Jun 2024 23:50:01 +0200 > > Ihor Radchenko writes: > > >>> Sorry, I've asked not precisely enough. Do we know the percentage of > >>> markers generated by that code? I mean, of the 500K markers Ihor sees, > >>> how many could be spare? > >> > >> I don't know, but a simple instrumentation (or even just a suitably > >> defined breakpoint) will tell. > > > > I looked into this. And it is near 0%. The overwhelming majority of the > > markers are created by something else. I mostly saw save_excursion_save > > in backtraces - it creates transient markers to save point position. > > Jup, it's point-marker for me. No idea who calls that so often. Org, who else? Look at the backtrace.