@@ -103,11 +103,11 @@ jobs:
103103 uses : ./.github/actions/test-linux
104104 with :
105105 testArtifacts : ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
106+ jitType : tracing
106107 runTestsParameters : >-
107108 ${{ matrix.run_tests_parameters }}
108109 -d zend_extension=opcache.so
109110 -d opcache.enable_cli=1
110- -d opcache.jit_buffer_size=16M
111111 - name : Test OpCache
112112 uses : ./.github/actions/test-linux
113113 with :
@@ -123,12 +123,11 @@ jobs:
123123 uses : ./.github/actions/test-linux
124124 with :
125125 testArtifacts : ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
126+ jitType : function
126127 runTestsParameters : >-
127128 ${{ matrix.run_tests_parameters }}
128129 -d zend_extension=opcache.so
129130 -d opcache.enable_cli=1
130- -d opcache.jit_buffer_size=16M
131- -d opcache.jit=1205
132131 - name : Verify generated files are up to date
133132 uses : ./.github/actions/verify-generated-files
134133 - name : Notify Slack
@@ -194,11 +193,11 @@ jobs:
194193 - name : Test Tracing JIT
195194 uses : ./.github/actions/test-linux
196195 with :
196+ jitType : tracing
197197 runTestsParameters : >-
198198 ${{ matrix.run_tests_parameters }}
199199 -d zend_extension=opcache.so
200200 -d opcache.enable_cli=1
201- -d opcache.jit_buffer_size=16M
202201 - name : Test OpCache
203202 uses : ./.github/actions/test-linux
204203 with :
@@ -209,12 +208,11 @@ jobs:
209208 - name : Test Function JIT
210209 uses : ./.github/actions/test-linux
211210 with :
211+ jitType : function
212212 runTestsParameters : >-
213213 ${{ matrix.run_tests_parameters }}
214214 -d zend_extension=opcache.so
215215 -d opcache.enable_cli=1
216- -d opcache.jit_buffer_size=16M
217- -d opcache.jit=1205
218216 - name : Notify Slack
219217 if : failure()
220218 uses : ./.github/actions/notify-slack
@@ -258,29 +256,25 @@ jobs:
258256 uses : ./.github/actions/test-macos
259257 with :
260258 testArtifacts : ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
259+ jitType : tracing
261260 runTestsParameters : >-
262261 -d zend_extension=opcache.so
263262 -d opcache.enable_cli=1
264- -d opcache.protect_memory=1
265- -d opcache.jit_buffer_size=16M
266263 - name : Test OpCache
267264 uses : ./.github/actions/test-macos
268265 with :
269266 testArtifacts : ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} OpCache
270267 runTestsParameters : >-
271268 -d zend_extension=opcache.so
272269 -d opcache.enable_cli=1
273- -d opcache.protect_memory=1
274270 - name : Test Function JIT
275271 uses : ./.github/actions/test-macos
276272 with :
277273 testArtifacts : ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
274+ jitType : function
278275 runTestsParameters : >-
279276 -d zend_extension=opcache.so
280277 -d opcache.enable_cli=1
281- -d opcache.protect_memory=1
282- -d opcache.jit_buffer_size=16M
283- -d opcache.jit=1205
284278 - name : Verify generated files are up to date
285279 uses : ./.github/actions/verify-generated-files
286280 - name : Notify Slack
@@ -321,6 +315,7 @@ jobs:
321315 - name : Test OpCache
322316 uses : ./.github/actions/test-linux
323317 with :
318+ jitType : tracing
324319 runTestsParameters : >-
325320 -d zend_extension=opcache.so
326321 -d opcache.enable_cli=1
@@ -375,6 +370,15 @@ jobs:
375370 echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
376371 echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
377372 echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini
373+ echo opcache.jit_max_root_traces=1000000 >> /etc/php.d/opcache.ini
374+ echo opcache.jit_max_side_traces=1000000 >> /etc/php.d/opcache.ini
375+ echo opcache.jit_max_exit_counters=1000000 >> /etc/php.d/opcache.ini
376+ echo opcache.jit_hot_loop=1 >> /etc/php.d/opcache.ini
377+ echo opcache.jit_hot_func=1 >> /etc/php.d/opcache.ini
378+ echo opcache.jit_hot_return=1 >> /etc/php.d/opcache.ini
379+ echo opcache.jit_hot_side_exit=1 >> /etc/php.d/opcache.ini
380+ echo memory_limit=-1 >> /etc/php.d/opcache.ini
381+ php -v
378382 - name : Test AMPHP
379383 if : matrix.branch.ref != 'PHP-8.0'
380384 run : |
0 commit comments