From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Changes in GC and in pure space (was: [Emacs-diffs] master 5d4dd55: Fix lifetime error in previous patch) Date: Thu, 15 Aug 2019 02:34:06 -0700 Organization: UCLA Computer Science Department Message-ID: <9568ca7d-854f-1971-bbe8-03ba8c64af42@cs.ucla.edu> References: <20190721193221.1964.53182@vcs0.savannah.gnu.org> <20190721193222.8C19E20BE2@vcs0.savannah.gnu.org> <83blxmqfkq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="183617"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: Daniel Colascione , emacs-devel@gnu.org To: Pip Cet , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 15 11:34:21 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyC9F-000lew-50 for ged-emacs-devel@m.gmane.org; Thu, 15 Aug 2019 11:34:21 +0200 Original-Received: from localhost ([::1]:39982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyC9D-00015C-Hn for ged-emacs-devel@m.gmane.org; Thu, 15 Aug 2019 05:34:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46198) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyC96-00014t-Bm for emacs-devel@gnu.org; Thu, 15 Aug 2019 05:34:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyC95-0001TX-6E for emacs-devel@gnu.org; Thu, 15 Aug 2019 05:34:12 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47402) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyC93-0001SL-Qd; Thu, 15 Aug 2019 05:34:09 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id E68AA1616A8; Thu, 15 Aug 2019 02:34:07 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bxeMdZWBDXji; Thu, 15 Aug 2019 02:34:07 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 316301626EF; Thu, 15 Aug 2019 02:34:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PMj4YM-jnyMc; Thu, 15 Aug 2019 02:34:07 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E76A21616A8; Thu, 15 Aug 2019 02:34:06 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239373 Archived-At: Pip Cet wrote: > Here are things I would consider urgent enough to warrant looking at > for Emacs 27: > - remove code like we have in `Ffset' to detect GC bugs that > presumably have been fixed by now Are you talking about just the code introduced in commit 2014-04-03T00:18:08Z!dancol@dancol.org (01ae0fbf30b74e2490144fceabbf5bc5d96f1ba7), or is some other code involved? I'll CC this to dancol to see if he has thoughts. > - make_fixnum called for numbers outside the fixnum range I installed a patch to master just now to do that. > - various places that should detect circular lists but don't (lread.c > reading hash tables, for example) Can you give an example of that problem? > - doubly-evaluated macro arguments (the one I can think of offhand is > DUMP_SET_REFERRER, which is harmless, but others might not be) Do you mean evaluated as in macro expansion, or evaluated as in execution at runtime? If the latter, I don't get the problem there. Many other macros assume that arguments are side effect free, and some of these cannot be turned into inline functions easily. > - since we appear to be stuck with lazy rehashing for now, the various > bugs this causes (I mentioned Fclrhash above) Sorry, what's the Fclrhash bug?