Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:120762 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 71632 invoked from network); 7 Jul 2023 13:09:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 7 Jul 2023 13:09:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CB1CD1804B3 for ; Fri, 7 Jul 2023 06:09:37 -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=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 06:09:34 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-4fba8f2197bso3018310e87.3 for ; Fri, 07 Jul 2023 06:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688735372; x=1691327372; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=xF1DlnHUjLGCOnb6ISmE4KHluCwCJBHuIh2F2ZUFOIs=; b=HcKOdQ8ViJ4xdShd69UUEArUSewRwUkfEVZX0n0zNjZswANSrU1JwPUWWOZ0jfqJAr /eyHbgZhzL/zOoE+JUYPvqrvTGoUW/bSmv9hnxSvdrzeMWiAlLGBNw3lHIXHSfnKxWMJ UrPKynnzbhvoNES0w+Bsuot1h7kCO4laMp5Kn14SX7FeXOQQWiNG7UCa5kWwg11NBE9B 7TxKl3TPknaNlDDBIgbSj+oqJZpKtDR0+6g9QaFMGF9si4w+iUgqHTIqXTTAFIMRN8f6 06OzURs2GT+aZXDyd9N5EmgezSa4Q91AdiPnf5x1iq3OuZNED5gE711LMbx2ZngDYtUV Yr0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688735372; x=1691327372; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xF1DlnHUjLGCOnb6ISmE4KHluCwCJBHuIh2F2ZUFOIs=; b=ezPzs9BrKYYmiMjINpNy3ueW3/70ySzO+JJCXrZbbCW5jUO7bLvQMB9ufSvVdoojxT ZGIgI3KHOkGBFLFWUnYq4l7aWpK2/KRVhNfPn02xIXm26T400BLqJa4+ie8SBDoNMAzM ctzQz1oGbNbu938PwrBz0xmeGIFEfNslWghlLKaudLWCrEKlxNDmPaVgJsclp7PGlmy+ kMmwa1wTyKoQOzb0vm/RTtJYIlBq9MMZyOZVALI0vBXNEpuF00eFDxcF6LTZtAw3eXhb 8tNh33Nbz0eg9RjaiqtrWaZd4tLTLf8HLKx0SfaCzJ9lY7ecBxAaIaVjx71Og00jG7EF +KKg== X-Gm-Message-State: ABy/qLZivdGuW2CXaq+sJBSqia41Yv/KRKPsjOZYqpgpZRk9GJdPvcGR I9lT9otvCzmN1zBh+3RR80m7f/vfTho12sIbt7d1i/U8FXg67w== X-Google-Smtp-Source: APBJJlGRK4XJvpi8JRfnCEuBGLaTYwlBpsReU6tk/wxOK39T19bHhN4fhhjcZ9oo5D3FlQFKJeWcKwGbHl+BnW5EiCA= X-Received: by 2002:a05:6512:31cf:b0:4f6:2b25:194e with SMTP id j15-20020a05651231cf00b004f62b25194emr4209244lfe.58.1688735372075; Fri, 07 Jul 2023 06:09:32 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 7 Jul 2023 15:09:21 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: New gc_status() fields, and WeakMap cycle collection From: arnaud.lb@gmail.com (Arnaud Le Blanc) 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