Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4

2023-10-18 Thread Dmitry Stogov
On Tue, Oct 17, 2023 at 8:46 PM Daniil Gentili wrote: > Hello, > > 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

Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4

2023-10-18 Thread Christian Schneider
Am 18.10.2023 um 10:42 schrieb Daniil Gentili : > 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. Ah, I missed that part, my bad. I'd suggest mentioning this in the RFC. I also went back Dmitry's RFC and saw that

Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4

2023-10-18 Thread 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

Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4

2023-10-18 Thread 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. > > Currently, JIT is disabled by default using the |opcache.jit_buffer_size=0| > default, instead of |opcache.jit=0|. > >

Re: [PHP-DEV] Change default method of disabling JIT for PHP 8.4

2023-10-17 Thread Jorg Sowa
Hello Daniil, I like this proposition. I never understood why the JIT is disabled by the ini setting `buffer_size` rather than other simple 'switch' like setting. Kind regards, Jorg

[PHP-DEV] Change default method of disabling JIT for PHP 8.4

2023-10-17 Thread Daniil Gentili
Hello, 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.e. here are the defaults for these two