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: Please check if scratch/igc builds with native compilation Date: Thu, 23 May 2024 09:35:47 +0200 Message-ID: References: <87r0du5rly.fsf@gmail.com> <87le425p8i.fsf@gmail.com> <87ed9u5lbi.fsf@gmail.com> <87v8356ngc.fsf@gmail.com> <87r0dt6lyq.fsf@gmail.com> 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="3174"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Andrea Corallo , Emacs Devel , Eli Zaretskii To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 23 09:36:30 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 1sA302-0000dj-Db for ged-emacs-devel@m.gmane-mx.org; Thu, 23 May 2024 09:36:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sA2zZ-0005La-To; Thu, 23 May 2024 03:36:01 -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 1sA2zT-0005Jv-Hj for emacs-devel@gnu.org; Thu, 23 May 2024 03:35:55 -0400 Original-Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sA2zQ-0002Zl-SS; Thu, 23 May 2024 03:35:55 -0400 Original-Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-52388d9ca98so10937092e87.0; Thu, 23 May 2024 00:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716449750; x=1717054550; 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=AFVAeBywxJWt4h6C8Lyui9PZ7g8A5uhT/s6zXOiN5fM=; b=EGB2MCPo8CL4C7qN95W8goeDqOhYJ25FSOpsSyjhp2XiJ1EdzqE8+POiOeoTBNHZGB Y7zn6LlvsX9fWNYgKK6Io85xRHp6YmAmyC4hc0T7ZgOAjph8DbHQTu7o3X/PwCqiIjku bhDHApr70n5W4NF/LGr8sKUULxm40O1K75RylHF+bVWkNhF6YIjztT/cXZDvU2FJuYZK AaaQeEAoTyGqURgJXciKFtiRGsvQ3pZwJc+fsEdOolCweP/cAD2/ZXc64F4Tz34v1qLs U1KlKuSodPe6eN6XirQdR8kgKHMMuB08xE0njwoIc4xKo813OxdC7YA+VIjzro80yGp2 ZolQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716449750; x=1717054550; 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=AFVAeBywxJWt4h6C8Lyui9PZ7g8A5uhT/s6zXOiN5fM=; b=e8wLgYlHMaYWs9ugui8Tls32Odds4JHgqidjk8KDIZkznqOlyFbhlcEueFHNiMm0dA qzS49Au15ymiGKIL0zG6v1FqIwwPZZSEYlCzVjvYXXAanjRdKN8i8V01yYaLjloecz2s 0Oaz+ydkyaGq4Z/DRz6FFrIZUScsDVtawTDDIdFu9XbgdDw3GqEWrxMphl3nSl/4Bn9O G7lnWAzJSRwO293+16AeRmSbk+MMUqOETc71DAZTude2wz3d6YZfLP9Pg+hLGSscmov7 3YKIekW7Tne66WvtsqW1D9xmT28pB4m4ZoZbEeHz4IfYkx1PH5SqN3jOClShZKoNOLNk fKPA== X-Forwarded-Encrypted: i=1; AJvYcCXKPO2ReC2fTWfcmrh/xXso+jI/JX0lq2oPTuD9InUY+f5lXl479YFjjNGOwLz8hh6DqHRTKj9ZtQv99tWpg625XvNAAWSRpuMo9v5ozP8MyuA= X-Gm-Message-State: AOJu0Yz6gmCl+n9vWzTaNIGUW7Cc4X882Yhr5sVDQ8NFIsOptbHcckwB +pOkO6ZrGB5jm2ew8BCLUqz5Cpo72evfwIaXKUHG3HOFIgE4Go7hrrPRsg== X-Google-Smtp-Source: AGHT+IGhTe/U/erYKBCUXJR0i1LHs6GmwXuVwiR/AFcvCJt+Plz0ijQ8aXKM3x5FlUz/K56AbVaNMQ== X-Received: by 2002:a05:6512:23a0:b0:528:47f4:2df9 with SMTP id 2adb3069b0e04-52847f42f9cmr969027e87.56.1716449749536; Thu, 23 May 2024 00:35:49 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36701.dip0.t-ipconnect.de. [217.227.103.1]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5df00490cfsm733998066b.159.2024.05.23.00.35.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:35:49 -0700 (PDT) In-Reply-To: <87r0dt6lyq.fsf@gmail.com> (Helmut Eller's message of "Thu, 23 May 2024 09:12:13 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x12a.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:319503 Archived-At: Helmut Eller writes: > On Thu, May 23 2024, Gerd M=C3=B6llmann wrote: > >> Helmut Eller writes: >> >>>> In summary, I think this is an improvement. >>> >>> I also think that roots should be registered before top_level_run is >>> executed. >> >> Could you please elaborate? > > AFAIU, top_level_run executes the top level code of a file. I.e. it > usually creates a lot of functions and puts them into the > symbol-function slots; for lambdas it puts the subr in d_reloc (see > comp--register-lambda). > > In general, top_level_run can trigger GC flips because it calls > make_subr a lot. It would be problematic if d_reloc where not traced > during those GC flips. text_data_reloc_eph probably too, but I have no > clue what that is for. Thanks, I'll take a look.