From 9eb077ed452a0a3355f5fce38a5e28953a1dd4f3 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Mon, 19 May 2025 12:29:39 +0200 Subject: [PATCH] Update opcache.jit_hot_loop --- reference/opcache/ini.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml index 1ffeea399538..5d720a9dc3ee 100644 --- a/reference/opcache/ini.xml +++ b/reference/opcache/ini.xml @@ -307,9 +307,9 @@ opcache.jit_hot_loop - 64 + 61 INI_SYSTEM - Available as of PHP 8.0.0 + Available as of PHP 8.0.0. Before PHP 8.5.0, the default value was 64 opcache.jit_hot_func @@ -1168,6 +1168,12 @@ e.g. -1 or 256, default value will be used instead. 0 will disable JIT to trace and compile any loops. + + + It is recommended that this parameter is set to a prime number, + to prevent it from being a multiple of loop iteration counts. + +