From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: MPS GC and its implications Date: Fri, 03 May 2024 14:28:13 +0200 Message-ID: <878r0rnkpu.fsf@gmail.com> References: <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> <86plu3i1nr.fsf@gnu.org> <87ikzvnnao.fsf@gmail.com> <86h6ffi00a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9928"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: gerd.moellmann@gmail.com, acorallo@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 03 14:29:08 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 1s2s2F-0002MO-Qy for ged-emacs-devel@m.gmane-mx.org; Fri, 03 May 2024 14:29:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2s1m-0003G0-Vr; Fri, 03 May 2024 08:28:40 -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 1s2s1g-0003Dz-Lf for emacs-devel@gnu.org; Fri, 03 May 2024 08:28:33 -0400 Original-Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2s1S-0001Mq-97; Fri, 03 May 2024 08:28:20 -0400 Original-Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a524ecaf215so1282615766b.2; Fri, 03 May 2024 05:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714739295; x=1715344095; darn=gnu.org; h=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=8tabDCmoodJdSpvaRAFu6umDYnS3nzIKc9N1Fj3wmNU=; b=CxMSmoAr56auOI1XqWIe4aJaQz9qBe0FfEoYfNdajGR6Un8PX/dT7yKaevs9wvX/4b fhxHphWtyWpVUN+LHZa2uzlnKrcDz3H26DbRYKZ6bCQxl/h5bYjVY5ThxfrVEmyQrBQX l7OW0odAFKaSctMGwDw5pin0Ohrzuae1Sa3Wx2NzhoT/LblPjwY7kPM2RED+anaQ3USU a9woDU6MNwXU+pVgkNcn3rnfjC9ETJ4ysaHmgAYUwAODU8zZRHfYujpV8gd431oJlY5G swa5XHhOAqaVPajA9H9rI3rxO6jcvVvV3rURSaMYB7x5xzgSN1eUCbD81kbnBNr35ClC 5eFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714739295; x=1715344095; h=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=8tabDCmoodJdSpvaRAFu6umDYnS3nzIKc9N1Fj3wmNU=; b=JltiekgdXKWzoa47rEGua0c3aqwD48Glc/hhc4rj5YPRlhfK185/nbt5ep1fYzqwCI qyVy/VXTCdMHfQK2D3l4Ms098xIxxgrMIOrQs0jW/lxZgfnrq2ntvE+VorLNmyDyVz+d PAeAHcLUdV+VfsOTTimL0BzgiQVCGS5IeGT2xhS4qi4Ox6E5gSyJ65hrHinjt5nCHN08 tmpB4hQsBC96aqx0wuPwxAC4IrpR3+XwM6heHTdJHInq1FSU0aJLzOMNVxLpdKXZIoHP VKEoJTja+uEFElhBgqLWBmHYO6ZuJuVe8CHOsE5eJFyl6L2GgAfwknZE8T9IcE9tm3G4 M2kA== X-Forwarded-Encrypted: i=1; AJvYcCXkdIxu589fjRD3c3Q58vMv9lncqTmgiviLvIEB9pDhk+mAVYkChc2tB1TazBWF51m6w14E+YM4c+lnIBrcyjq6H7GID+165YpE1bkPpPitpHy+Lxzq X-Gm-Message-State: AOJu0YxfmUXnKCMZa4rxbq133uo1KI4zfJsGK/GLD0lW+jwsTRwWU5Y3 YK0aqTTh3wyEjRmrnnJDy2hF/ugDeu8fb31IkV3SZMC/sTyy5+nO/d+/pQ== X-Google-Smtp-Source: AGHT+IGqZx7ePyaDt3+w0RkLjihSYLAyhpXQKiiHAE7wX+NqQNK1NsxqZmZeOnhkJxdHZ3mou86xQw== X-Received: by 2002:a17:906:6883:b0:a55:88b9:dabd with SMTP id n3-20020a170906688300b00a5588b9dabdmr1466027ejr.63.1714739294777; Fri, 03 May 2024 05:28:14 -0700 (PDT) Original-Received: from caladan (dial-184253.pool.broadband44.net. [212.46.184.253]) by smtp.gmail.com with ESMTPSA id lg25-20020a170906f89900b00a4e1a9e1ab4sm1647470ejb.157.2024.05.03.05.28.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 05:28:14 -0700 (PDT) In-Reply-To: <86h6ffi00a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 03 May 2024 14:54:29 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x634.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:318676 Archived-At: >> Memory barriers could be used for synchronization. When the mutator >> hits a barrier, it executes the signal handler. The signal handler asks >> the collector what to do. Essentially synchronizing those two. > > If this happens, I should have seen GDB intercept the exception and > kick in. But it doesn't. (It also would have slowed the program > quite a lot, I think.) Don't call igc--collect and do something to generate enough garbage. Then you'll see it.