From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Fri, 11 Jul 2014 09:27:08 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405085265 16309 80.91.229.3 (11 Jul 2014 13:27:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 13:27:45 +0000 (UTC) Cc: Emacs development discussions To: =?windows-1252?Q?Aur=E9lien?= Aptel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 11 15:27:38 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5arJ-0002uU-Ef for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 15:27:29 +0200 Original-Received: from localhost ([::1]:44796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5arJ-0001aO-16 for ged-emacs-devel@m.gmane.org; Fri, 11 Jul 2014 09:27:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5ar7-0001a9-Tw for emacs-devel@gnu.org; Fri, 11 Jul 2014 09:27:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5aqz-000361-HP for emacs-devel@gnu.org; Fri, 11 Jul 2014 09:27:17 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:25156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5aqz-00035j-Ds for emacs-devel@gnu.org; Fri, 11 Jul 2014 09:27:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="77166007" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Jul 2014 09:27:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 74457616F3; Fri, 11 Jul 2014 09:27:08 -0400 (EDT) In-Reply-To: (=?windows-1252?Q?=22Aur=E9lien?= Aptel"'s message of "Fri, 11 Jul 2014 11:01:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172981 Archived-At: > If it's already marked, then the doc field is already marked too so > breaking here is correct. But if "it's already marked" there are two possible cases: - it was just marked earlier in the current GC and indeed then we're good to go. - it was marked in some earlier GC and the mark was not reset since then (normally, all marks are reset during gc_sweep, but this is currently not done for Subrs, AFAIK). In that case we're in trouble, because the doc needs to be re-marked during this GC, otherwise it might get reclaimed. Stefan