Skip to content

Commit 3fa1907

Browse files
committed
Clarification of jit_bisect_limit usage
As a new bird to PHP interpreter, I tried to set jit_bisect_limit with jit=tracing in order to debug/probe PHP JIT feature, but failed to hit my breakpoint and hence got confused. I found that jit_bisect_limit only works under special JIT trigger mode like 0: on script load, or 1: on first execution, after heavily reading source code and trial-and-error experiments. So, I would like to clarify the usage in PHP manual. Hopefully, this can save time cost and reduce confusion of new PHP interpreter developers. The patch is verified on my local machine with phd build and the web content and link looks good. php/doc-en@c46a5fe
1 parent 17a8075 commit 3fa1907

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/opcache/ini.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: c7d6db0d245712c01f72b9e0e79cc3d96a5bc25e Maintainer: satoruyoshida Status: ready -->
3+
<!-- EN-Revision: c46a5fe7bce587682190d9b3153e3487e71aff92 Maintainer: satoruyoshida Status: ready -->
44
<!-- CREDITS: mumumu -->
55
<sect1 xml:id="opcache.configuration" xmlns="http://docbook.org/ns/docbook">
66
&reftitle.runtime;
@@ -1050,6 +1050,7 @@
10501050
<para>
10511051
一定の数の関数をコンパイル後、JIT コンパイルを無効にするデバッグオプション。
10521052
このオプションは、JITコンパイルが失敗している原因を二分探索するのに役立ちます。
1053+
注意: このオプションは、「JITを行うトリガ」が 0 (スクリプトの読み込み時に全ての関数をコンパイル) または 1 (最初の実行時に関数をコンパイルする) の場合に機能します。たとえば <code>opcache.jit=1215</code> の場合です。<link linkend="ini.opcache.jit">opcache.jit</link> も参照ください。
10531054
</para>
10541055
</listitem>
10551056
</varlistentry>

0 commit comments

Comments
 (0)