From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS GC and its implications Date: Wed, 01 May 2024 17:54:09 +0200 Message-ID: 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: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: eller.helmut@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 01 17:54:36 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 1s2CHz-0003sb-Fs for ged-emacs-devel@m.gmane-mx.org; Wed, 01 May 2024 17:54:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2CHi-0002a9-9X; Wed, 01 May 2024 11:54:18 -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 1s2CHf-0002Zv-En for emacs-devel@gnu.org; Wed, 01 May 2024 11:54:15 -0400 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2CHd-00020c-29; Wed, 01 May 2024 11:54:14 -0400 Original-Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-41b5dd5af48so48680075e9.0; Wed, 01 May 2024 08:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714578851; x=1715183651; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ruyCy3IwgeqUiEUy7Azr+EE0FPH1YrHjjHm0aoZ/wkA=; b=jEfjcVQr2JIqoEQ1JBEgZMjYMJ/7Mt8tsM1UI6wZtR9G0YtlnSDAbGjwRKM5iyDmXC 8WIt2ThrU77nF3utwiAOAk7/5gjMey/kR84Ri/1+Uc8x73YeoJjmI9s832WpQqaIGWrV x7GWFYNT5opDtlqRyCWGmtq4YjLyq5HPM8XXeYaH3Od4FJAa4rd4a8iM8M1tS0jblGbD IhVmyWabIsP6yj6ayeh2WtnUjuX2WsUe6/QZKZvF7icFvC5x3YhXFjby8EC8FhMDEGUN PbIDySuDrLuhA/nHwTCWGOsoDH014qpPBSHmGIUGX7WY4qqTSgzIRboYkqboLl0cZIo0 8bDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714578851; x=1715183651; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ruyCy3IwgeqUiEUy7Azr+EE0FPH1YrHjjHm0aoZ/wkA=; b=WXBtlAeCG1ENBjR+Mxv/ZDDQ663od5zuktlud+6CgLV2XTHfHXFUUxAPzko1FA2HwV xDJ48Xsb0cuE4eEmOKB8xWq+vZF86cHr9zPIJIb7pvPMvi8b4cIu6SFhk5IdNz8jJrMY VGzu1K2iZkOhDJHsiuPAmIQObqAzXfsc0wFNPiSov3Gj1yDDEEc9s7HL9aHY6S8xewQy /17Eb14am+X45mgcihfCVlfM2Dcx+CZew8Gz8zkWTLBcWn4YLjX5i4lBY4v2sI1PTFga Y0omnuKvZ+rhmpKkTOCrJOWDpQg29iwMv1msKMiWaAxKNRAnlAnMS8I3xU3FQWIzdAuP YbkA== X-Forwarded-Encrypted: i=1; AJvYcCX05EqVGpGb8EBXeRZDCKSQX2GGgQKkNmguGj3uchVwGaifkqIx18gdBUFA4ZXvHwAEWe0pazUeOdKytUO47k4fVymN X-Gm-Message-State: AOJu0YwoNv7pEWgP5pM5FXk9LbYnMwRXI7nea7P6Rc4ESkDot8Fxq+8V v+/x/5dNWgzfvlvvY56zNg5Ij8hGKSXuP2AQo+N5sVUWKJ2fRntQXUyjrQ== X-Google-Smtp-Source: AGHT+IEdlWxhfUWLZeM/Fuf6VZ6/G3RhyINu6qmDpG9W5FIs16SIx/ByhXN9j4iFYmFkwD8QlExh8A== X-Received: by 2002:a05:600c:4744:b0:41c:11fe:4de3 with SMTP id w4-20020a05600c474400b0041c11fe4de3mr1786434wmo.24.1714578850945; Wed, 01 May 2024 08:54:10 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e362de.dip0.t-ipconnect.de. [217.227.98.222]) by smtp.gmail.com with ESMTPSA id m7-20020a05600c4f4700b0041b434e5869sm2571551wmq.43.2024.05.01.08.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 08:54:10 -0700 (PDT) In-Reply-To: <86le4to9yw.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 May 2024 17:58:15 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=gerd.moellmann@gmail.com; helo=mail-wm1-x32b.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: 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:318491 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: Eli Zaretskii , emacs-devel@gnu.org >> Date: Wed, 01 May 2024 16:05:17 +0200 >>=20 >> 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.