From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Not using DOC for ELisp files Date: Tue, 28 Dec 2021 18:31:40 +0800 Message-ID: <87ilv9vx4j.fsf@yahoo.com> References: <871r1xzcrl.fsf@yahoo.com> <1ce8fac9a149bd623be2953a5c5d451c@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2798"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: LdBeth , Stefan Monnier , emacs-devel@gnu.org To: Phil Sainty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 28 11:33:06 2021 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 1n29mz-0000W7-KX for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 11:33:05 +0100 Original-Received: from localhost ([::1]:35316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n29mx-0004by-NZ for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Dec 2021 05:33:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n29lq-0003qM-59 for emacs-devel@gnu.org; Tue, 28 Dec 2021 05:31:54 -0500 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:33821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n29lo-0008NQ-D6 for emacs-devel@gnu.org; Tue, 28 Dec 2021 05:31:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640687509; bh=4CoMANJryQDl2M91fmMBEQoDK7nLf0E/pVDv2rAgSpk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=grZCCIAzWuO6UgdjkVZLfwf3yNkgGB4PsFoFnfUnwtjOQ6es/fBmoN5EpKWU/ojzH13mXdRoUkq3UeccNArHyMJpnMSaY/WbRXGIHAaUcuvaZ/R3IKXLCOyu6rBW+mpEAOA8qzQiYjvyQKFwDlqdFGApfgRSw6r2wjDwo8g2kmJzfeHaXJ9B8lzuS3Jr0qUmrsBrJB9RN9WWgbITya/mlusqXD6KSGVxaYbMeo35EdK6Su/ruIK2XZuFKfI3wt3DqKi0IVZcvi24kiZ56c7IquvzYn4W62CvQA4H0xojs2D6KgRaALT+o/ellm7dqU6dlAI4pRjgcWnH9xpzNX+akA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1640687509; bh=0Qc2m0KilzeRLI2D1GMVJ7imln7htI1NgBIoqIBJh7C=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=FrH2CvfwJ3VhkiOuDS6Eq9NOexkwS57udXB1ZjN9mxmcX/HOTfTvE0RIxUEnr4K5F4EpeLE+jgrNf4Sdger3XZC/zx6PWkOZPWotFPZOIjJeT72m6G/AsOPXOeH0xlDsn4Ov0wlgEoJJIqjURP2i9pWkqdvp9g5EcKoB8IXLZzbdrM2zSGADxUCGrKXWaBFv3TcJJZ0r8FsenEf5xqsUbYP7uIQRfbb4eNpdev3+Ea5V+fcWkEAyOxIKlvUUunbBYFZU+NidyLhb2uzFqVSEn7HT/bR4ccYz791Nr62G/0P9kb1IOgNGTGiD+M1iUGAICpGhLmK+EwM4ftTUP3TUqw== X-YMail-OSG: PcLyEo8VM1nfFU.7MpsIqxVC6pwGOgt6HKEJ7wtap6AlmbF.4Tefj9YLmlY6X4U O6yZXMVKEeYa1WEuWWroSZMXDLDO7uRR8m.uY5Mv2.pbWqQhhTFgeXEIcRXY8N1_pYdda0xCuj41 bCuifSqWOjk9wbj4634UUao2eqBVHYq.d37_KzdnnC0mZXN0wa0.KMWwioAK0U2bug__K.WxThUj RhZx0C.9QGoIxzTQywNlq9MrzZUZEjTWglJK52GAaIcsnJqZzqh1ZHjG4pGdjIPl6pNzfimr9fWi RjpjQCxW.aIvIo759eBRN8iuM02r_zJsQ99QzWhMMRINuh00Jl1uYl4RjmG3_txR0z3cF.g6.z1N tta0oJL1L8zaiaG9FoS31tAn1uf70wJNA_xtavjE39Mcs6nrX43xZadJxVjX8U1hGmm0Fgsbfyc7 cwaFH6CHl51mvfLN6XnlM4GgE.YQ3941j62PzMM2OBcddKY9n18lw.X__BocMdZdcTzLmoptu5aa VsKWkmz7KLlBLchg34EMzfU0a8CPaSgtooLPMIL1LQkLXNut2PSkzMOyh094dZC5wgK0ss9cL7hd 0f7PpS7hvOi2Y_ANarG_vVr7mYLPdSxz04BTVhUF_nk_8l5db.O4LCHCF1M7iImS_LvE6zjbbImS M_yFI2bwHLDvYW5RD2VsOP3a4AU5GvQietI1XWeVjUz0zORokFbhG2tuV3YAB6TzX_.fKu0LcDe9 j7pX6iqlwvLL49sedkyN_A5NKz.0pmT36Pz7S8abO1y.oq7bgw1p7CrNU8YLnTo49B0TIMs_1g2P Z_k6ioKALdcHulhGcfTa6Q_j9xNZfiB72a_xKl.DCR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Tue, 28 Dec 2021 10:31:49 +0000 Original-Received: by kubenode515.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f4a2483d7ffdf1abdc416c574c16f27f; Tue, 28 Dec 2021 10:31:44 +0000 (UTC) In-Reply-To: <1ce8fac9a149bd623be2953a5c5d451c@webmail.orcon.net.nz> (Phil Sainty's message of "Tue, 28 Dec 2021 22:52:24 +1300") X-Mailer: WebService/1.1.19498 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-22.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.devel:283495 Archived-At: Phil Sainty writes: > I believe that Jeff Walsh is currently continuing work on the > generational GC started by Daniel Colascione. I don't think a purely generational GC is the way to go. It's inappropriate for an interactive program like Emacs, where responsiveness is more important than raw GC performance. Besides, the goal of my garbage collector is to be minimally invasive. It extends the existing mark-and-sweep garbage collector to act incrementally, and makes use of hardware write barriers. (And as such is unlikely to work on machines that don't support VM and something like `mprotect'.) It's still a work-in-progress with some features completely missing, and it also has a lot of low-hanging optimization fruit. For example, when a write barrier is hit, the faulting address is looked up inside mem_root, and the object found is simply pushed back onto the scan stack. (Nothing fancy is done with objects such as conses, where chances are the object being written to it can be immediately marked because it will not be modified further.) Incremental marking already works in undumped Emacs, except for a tough bug involving car-nested conses that are scanned from intervals on the stack that cross a page, but I haven't worked on incremental sweeping yet, and it doesn't work in a dumped Emacs at all. Thanks.