Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121369 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 3954 invoked from network); 18 Oct 2023 06:52:23 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Oct 2023 06:52:23 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 69D29180504 for ; Tue, 17 Oct 2023 23:52:22 -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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15623 212.45.192.0/19 X-Spam-Virus: No X-Envelope-From: Received: from mail.gna.ch (mail.gna.ch [212.45.196.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 17 Oct 2023 23:52:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 0C1933A0F62 for ; Wed, 18 Oct 2023 08:52:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at example.com Received: from mail.gna.ch ([127.0.0.1]) by localhost (darkcity.gna.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9UJXSCXPoCu1 for ; Wed, 18 Oct 2023 08:52:19 +0200 (CEST) Received: from smtpclient.apple (unknown [IPv6:2a02:1210:2ea4:cf00:a4c7:7ea5:788b:4bdb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id 3AA323A0F61 for ; Wed, 18 Oct 2023 08:52:19 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Date: Wed, 18 Oct 2023 08:52:19 +0200 References: To: PHP internals In-Reply-To: Message-ID: X-Mailer: Apple Mail (2.3774.100.2.1.4) Subject: Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4 From: cschneid@cschneid.com (Christian Schneider) 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. >=20 > Currently, JIT is disabled by default using the = |opcache.jit_buffer_size=3D0| default, instead of |opcache.jit=3D0|. >=20 > I would like to change these defaults to: >=20 > - opcache.jit=3Doff > - opcache.jit_buffer_size=3D64m (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