Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120763 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75520 invoked from network); 7 Jul 2023 14:03:24 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Jul 2023 14:03:24 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C2BAB180382 for ; Fri, 7 Jul 2023 07:03:23 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29838 64.147.123.0/24 X-Spam-Virus: No X-Envelope-From: Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 7 Jul 2023 07:03:23 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9B06F3200C9F for ; Fri, 7 Jul 2023 10:03:19 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute4.internal (MEProxy); Fri, 07 Jul 2023 10:03:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1688738599; x= 1688824999; bh=jYPLKXCG9h/wQ5Slj9lK5+int2aPPFeA/LakoBra6+Y=; b=E xytZkbtSrwuLXoPGMqxIZHJtsYC6etLXoz+M6BqBrFmIjR6Jlhb0PEOXnuqlSta8 vS8r6vrC9tb0LyF09i1OdcmyQ1waN3MZ3MIsQuDV3u+/68T8UyUUSvZlseusacnf 8L9LEfFQ4tnzMPQSb+JArmG+OxgEbbJHAIwZZXtfmpV2DSXkxuMbglPxdUctWxqt KdAYMdz8mlpOz8GsGTEIMbJnZ+zveFrNoIJs/ddRqph8itw5d+z1ahpYSSi3Jx3M WPfw9cKZ6ITuEVq9yDVdAdY7NYH+/vhJMH3tNEZyyyvGtIxWH6VWILVM9N6GpsRt gu2gnqwZumh9AV4z4VLoQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1688738599; x=1688824999; bh=jYPLKXCG9h/wQ 5Slj9lK5+int2aPPFeA/LakoBra6+Y=; b=qI6lKJpujl9/PWAWCKNMldFkjvunZ 4JYcOVfX3YL75RWWLLb4FMkos0VWtR/4Qj7yutbQ1SFxPtfyMnKQ+gRZRBlm9q4N 0tz+Z8TmuY6wFy64a1tzqnfoCqvHj740pF0Af5kegvGlTwcI3Vz4NyfYxXx9Feuo x/fgmzcz9k7rxsHo4CozEGWiaBIeUZ13hY7njuFW9jsqRpH2Lp+wTetPp849x/G9 dkjipGN56lCDUgSPaOM6tQ7p88T4hiURNZ9O96fwt1WScmhoS9g0+RwIX3Yfime0 QsoPfFh5KCYfUuCCCIjiq6eGibgsrDm4OJFE9WL04X5eY44RTaanGF03w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrvddugdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepkeetleehffegfedvudefueejkefhvddtueeuvdevteei veehledugeejudfhhfetnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghr fhhivghlughtvggthhdrtghomh X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 499181700089; Fri, 7 Jul 2023 10:03:12 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-531-gfdfa13a06d-fm-20230703.001-gfdfa13a0 Mime-Version: 1.0 Message-ID: <4c16c652-a718-45e6-a77a-74654a6761e7@app.fastmail.com> In-Reply-To: References: Date: Fri, 07 Jul 2023 14:02:50 +0000 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] New gc_status() fields, and WeakMap cycle collection From: larry@garfieldtech.com ("Larry Garfield") On Fri, Jul 7, 2023, at 1:09 PM, Arnaud Le Blanc wrote: > Hi everyone, > > I'm considering merging the following two PRs: > > https://github.com/php/php-src/pull/11523: Exposes the time spent in > the cycle collector via new gc_status() fields. > https://github.com/php/php-src/pull/10932: Allows the GC to collect > certain types of cycles involving WeakMaps. > > The second one introduces a minor BC break. > > If there are no objections, I plan to merge these PRs prior to the > feature freeze. > > Best regards, > Arnaud For the second, doesn't that translate to "WeakMaps are currently not actually Weak, and thus don't work at all?" I don't quite know how that would be a BC break to fix... --Larry Garfield