Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121374 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15631 invoked from network); 18 Oct 2023 08:42:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Oct 2023 08:42:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9981B180504 for ; Wed, 18 Oct 2023 01:42:42 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS2639 136.143.184.0/24 X-Spam-Virus: No X-Envelope-From: Received: from sender3-of-o58.zoho.com (sender3-of-o58.zoho.com [136.143.184.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 18 Oct 2023 01:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697618560; cv=none; d=zohomail.com; s=zohoarc; b=PynBm369sd2ls+WL5wv7ZDUnYFt1VdORAVVEcthh2T+6k/mvanCkedz+LQipo6vpCbpACrXq1o0bRQErI5Jx2kZ2ezD7ivfQSEm6jeS3dFwgPE/JtgCR6GyMkYK2K1fCp118VQjffTNgLgsc5wtcFVchL42cVTkk1eGma7HKRok= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697618560; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=DxtdTDAS5pHvrq80O1dyx+kED35o3GmpV2sQ3NVj6rQ=; b=Ige6nLOzVLL0pc0Vm3DP+HNkEfRc+vEt6Cn9Y/Lc/hUAVN90OIYqTq2D5IKr8P4F6jbog8IvUE6qNO3Tq0nfy60H7TIz/95Js2FetbUmmW87gSWCb5HO95PQERV8vnkaVAnGDXz4LjT3JeSo4QvPByAUfbt7cUuRVVDRlBtJWjw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=daniil.it; spf=pass smtp.mailfrom=daniil@daniil.it; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1697618560; s=daniil; d=daniil.it; i=daniil@daniil.it; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=DxtdTDAS5pHvrq80O1dyx+kED35o3GmpV2sQ3NVj6rQ=; b=IKAC390LbyKyGyoGAbkgRj9Sy7aSw9Q3WQ6yhFtWyrOnZa6CkKqIuh3hGxOmqtSp 4f2QVQBnPGi8b4QqpHxLf+XSbiWoWtvz9hrxDrE26tbjbzsx6gkcaohOsCjkdM/xEkW UOR8DK+euvYkf99O2Q5RTV7oAvul68GVsEVIZU8g= Received: from [192.168.69.233] (128.116.205.77 [128.116.205.77]) by mx.zohomail.com with SMTPS id 1697618559272874.4626419868143; Wed, 18 Oct 2023 01:42:39 -0700 (PDT) Message-ID: <526f40d2-4403-4842-bf48-d4b53a4ae5d7@daniil.it> Date: Wed, 18 Oct 2023 10:42:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Christian Schneider , internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External Subject: Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4 From: daniil@daniil.it (Daniil Gentili) Hi, This is precisely why I'm planning to submit the RFC to make the change in PHP 8.4, which is when the new JIT will be introduced. Regards, Daniil. On 10/18/23 08:52, Christian Schneider wrote: > Am 17.10.2023 um 19:46 schrieb Daniil Gentili : >> I would like to submit an RFC and PR to change a few INI defaults for opcache, changing how JIT is disabled by default. >> >> Currently, JIT is disabled by default using the |opcache.jit_buffer_size=0| default, instead of |opcache.jit=0|. >> >> I would like to change these defaults to: >> >> - opcache.jit=off >> - opcache.jit_buffer_size=64m (taken from https://github.com/php/php-src/pull/12425/files, any smaller multiple of 2 causes the buffer to fill up when running moderately sized projects like Psalm or PHPStan). > I understand your point but it might unexpectedly switch behavior for people just setting jit_buffer_size and expecting this to turn JIT on. > While (in the light of a new upcoming JIT) this might not be a big deal it is also not clear if it is worth it. > Maybe the settings can be overhauled once the new JIT is introduced (which might have different settings anyway). > > Regards, > - Chris >