From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#70796: 30.0.50; bug-reference-mode leading to constant GCing Date: Mon, 06 May 2024 08:53:29 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3827"; mail-complaints-to="usenet@ciao.gmane.io" To: 70796@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 06 08:55:05 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1s3sFd-0000o5-DY for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 May 2024 08:55:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3sFK-0004Om-MR; Mon, 06 May 2024 02:54:47 -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 1s3sFC-0004NH-8M for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 02:54:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3sFB-0005IZ-Vn for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 02:54:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3sFZ-0005I2-R7 for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 02:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 May 2024 06:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70796 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171497847920323 (code B ref -1); Mon, 06 May 2024 06:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2024 06:54:39 +0000 Original-Received: from localhost ([127.0.0.1]:36099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3sFD-0005Hj-9c for submit@debbugs.gnu.org; Mon, 06 May 2024 02:54:39 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:34508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3sF7-0005Ha-Ef for submit@debbugs.gnu.org; Mon, 06 May 2024 02:54:37 -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 1s3sED-00048V-0i for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 02:53:46 -0400 Original-Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3sE9-0003GK-9t for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 02:53:36 -0400 Original-Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a599a298990so378845666b.2 for ; Sun, 05 May 2024 23:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714978411; x=1715583211; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=ZaSavCIzuLROPW0mYGmAi8X2oNBITdosev7zdqW9Mqg=; b=gPiPu4ttlOTdmggMDTdkq2hz2i5wel4OPsprb1pjawZzutxwBUsl0ySSXmdr/BKqxu D8SfOyPK3tRzcphObI5/pEsB+w9wAMXAu867XHRvJ/yye3gOMwgCos5y+V8QtaPwTv3D gThidpWiCJuvmmSiW7uvsLBQ13O/jntCKLSAvSLnITDWtQGvIByclTstxgs4JWSLkDFJ mrL7ryIfEkub0v2Snl13iVSu4il3liy/836yeDEVGAvtBaJ2DoJWMAKiyi5ZMqw0ldsn 5KRxpOiV8GakJ/9B71+YlOt6mg25IrwCrmLA6IiFb0O6x/UG5ouyXQ1JnuJrcmKTqoYz A1+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714978411; x=1715583211; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZaSavCIzuLROPW0mYGmAi8X2oNBITdosev7zdqW9Mqg=; b=cBRZDcnL9La+Qb3lHLUj6WBiuKQrMGlwzVdIWPLZM8a4+1Pcr+FWy4RuSFjkMrd+PS HRdO5ZfgD3FqVHb+4VTkfZTKpt6JlkmqyusRU92F++G/MwxpeIR+eVURPTUgGxqwdkxQ GtTjE7vImb27H2c0XC+7bV3yCK2en0oQrEzRWPVlizbKUE1Iv4DduGwT2UgI5SjuznqF bxiYLqVyNPrQx/nn9bsyFJ/dqmXmflaZei1BFPDClTga0nMnEcy0ZO+F6o7/wIStHm6W S9Augq2zRp9ttLpf3156epUypqS6512vXG5sGZUdqxJPxl9EMa10rcR9qiuMbsLrYcCP jlYw== X-Gm-Message-State: AOJu0Yz6Hvx0oR7Sp64GTw2mqLxyljskpxbf3XUwyggKMGMMMDb7DJ15 J5yGN33nHs57ci+RXm76xMOd7X5jJ6jMItpc+XbVVIB/90IFbjbf4jUnzA== X-Google-Smtp-Source: AGHT+IFy0H7tBGUTorb+LJhblSAu7hY7ZIXltZKtxK5ZxPiM+V6eSl24Z9v7pxdkzrI5X4gyjbR+pA== X-Received: by 2002:a05:6402:1d99:b0:568:9cfe:1974 with SMTP id dk25-20020a0564021d9900b005689cfe1974mr3579950edb.18.1714978411103; Sun, 05 May 2024 23:53:31 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a55e.dip0.t-ipconnect.de. [79.227.165.94]) by smtp.gmail.com with ESMTPSA id p9-20020a056402500900b005727b2ae25csm4801371eda.14.2024.05.05.23.53.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 23:53:30 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284559 Archived-At: This is in an Emacs compiled from the branch scratch/igc, but I see the same in master. When loading admin/igc.org in scratch/igc I see very frequent GC, even while doing nothing at all. Memory profiler shows this 4,192,076,326 68% - redisplay_internal (C function) 2,997,520,400 48% - jit-lock-function 2,997,520,400 48% - jit-lock-fontify-now 2,982,457,616 48% - jit-lock--run-functions 2,982,457,616 48% - run-hook-wrapped 2,982,457,616 48% - # 2,769,181,376 45% - font-lock-fontify-region 2,769,181,376 45% - font-lock-default-fontify-region 2,707,362,176 44% - font-lock-fontify-keywords-region 276,400,512 4% + org-do-emphasis-faces 197,821,440 3% + org-fontify-drawers 197,821,440 3% + org-activate-links 197,821,440 3% + org-activate-tags 197,821,440 3% + org-activate-dates 197,821,440 3% + org-activate-footnote-links 197,821,440 3% + org-fontify-macros 197,821,440 3% + org-font-lock-add-priority-faces 197,821,440 3% + org-do-latex-and-related 197,821,440 3% + org-activate-code 197,821,440 3% + org-fontify-meta-lines-and-blocks 197,821,440 3% + org-fontify-inline-src-blocks 197,821,440 3% + org-cite-activate 57,104,384 0% re-search-forward 61,819,200 1% + font-lock-unfontify-region 213,276,240 3% + bug-reference-fontify 15,062,784 0% - run-with-timer 15,062,784 0% + apply 97,280 0% + file-remote-p 336 0% + desktop-auto-save-set-timer 144 0% + tab-bar-make-keymap 1,955,072,562 31% + command-execute 129,456 0% + timer-event-handler 1,024 0% + corfu--auto-post-command 0 0% ... Disabling bug-reference-mode in the Org buffer makes it stop constantly GCing. In GNU Emacs 30.0.50 (build 4, aarch64-apple-darwin23.4.0, NS appkit-2487.50 Version 14.4.1 (Build 23E224)) of 2024-05-06 built on pro2.fritz.box Repository revision: 5067d5484f80ac39d9aa57bd53343e335b744003 Repository branch: scratch/igc Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.4.1 Configured using: 'configure --cache-file /var/folders/1d/k_6t25f94sl83szqbf8gpkrh0000gn/T//config.cache.igc --with-native-compilation=no --with-mps=yes CC=clang'