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 GC and its implications Date: Wed, 01 May 2024 19:49:12 +0300 Message-ID: <86h6fho4tz.fsf@gnu.org> References: <86jzkhu5rv.fsf@gnu.org> <87ttjlabic.fsf@gmail.com> <87v8408wsr.fsf@gmail.com> <87o79sasl5.fsf@gmail.com> <87plu72y8h.fsf@gmail.com> <877cgfwe5g.fsf_-_@gmail.com> <871q6mptkj.fsf@gmail.com> <86wmodofvw.fsf@gnu.org> <87frv1hclv.fsf@gmail.com> <86le4to9yw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13695"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 01 18:49:52 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 1s2D9T-0003Je-MQ for ged-emacs-devel@m.gmane-mx.org; Wed, 01 May 2024 18:49:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2D8x-0005Ju-1L; Wed, 01 May 2024 12:49:19 -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 1s2D8u-0005E5-Qw for emacs-devel@gnu.org; Wed, 01 May 2024 12:49:16 -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 1s2D8u-00030Y-Hv; Wed, 01 May 2024 12:49:16 -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=F9cC+nCdr/qsvJRlj7YNiqXexd4JfJGkXqRRo+FvSks=; b=moVhN4ioj+5+ktVjjw3R xUTWxxVzQNUxjkEjfDRTguW1VXA+8JoOzvqwRTv+jAT1E/MMdJvB3DlyLK0p3WuIDlzwkenRJ2k37 va9kYo8a9KKMcbzN6K9iEVj5TgNnvDKjGVWLWZhlHCyNs4iustDecagiAtHsBAFRuQevNmnwreqgy fhw9FUTYOj/3oWV7kietKPmFoASS5LxhqmdrLEy3PzPx7uk4EwBYtJ7yowDJNRgewfqDIhN0dFFDa PNgpkmMrhl+LZXU4ilHND2C3J8C4pHfzgaV7cE5JmZWG1BBUCQnpOWh62ust1uKQOzgN6IWq0hAKz iFjk0u+3kgHv4w==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 01 May 2024 17:54:09 +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:318497 Archived-At: > From: Gerd Möllmann > Cc: eller.helmut@gmail.com, emacs-devel@gnu.org > Date: Wed, 01 May 2024 17:54:09 +0200 > > Eli Zaretskii writes: > > >> From: Gerd Möllmann > >> Cc: Eli Zaretskii , emacs-devel@gnu.org > >> Date: Wed, 01 May 2024 16:05:17 +0200 > >> > >> On a side note: I'm beginning to suspect that that char * and so on is > >> incorrect with the old GC as well? String data can move with the old GC > >> (compact_small_strings). > > > > Not while the code in coding.c between coding_set_source and the end > > of processing runs: GC cannot happen there. > > That's true, but when is the char *source set? It's in a global var, and > GC hasn't always been inhibited... That's what I'm thinking about. It isn't in a global variable, AFAICT.