@@ -103,11 +103,11 @@ jobs:
103
103
uses : ./.github/actions/test-linux
104
104
with :
105
105
testArtifacts : ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
106
+ jitType : tracing
106
107
runTestsParameters : >-
107
108
${{ matrix.run_tests_parameters }}
108
109
-d zend_extension=opcache.so
109
110
-d opcache.enable_cli=1
110
- -d opcache.jit_buffer_size=16M
111
111
- name : Test OpCache
112
112
uses : ./.github/actions/test-linux
113
113
with :
@@ -123,12 +123,11 @@ jobs:
123
123
uses : ./.github/actions/test-linux
124
124
with :
125
125
testArtifacts : ${{ matrix.branch.name }}_${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
126
+ jitType : function
126
127
runTestsParameters : >-
127
128
${{ matrix.run_tests_parameters }}
128
129
-d zend_extension=opcache.so
129
130
-d opcache.enable_cli=1
130
- -d opcache.jit_buffer_size=16M
131
- -d opcache.jit=1205
132
131
- name : Verify generated files are up to date
133
132
uses : ./.github/actions/verify-generated-files
134
133
- name : Notify Slack
@@ -194,11 +193,11 @@ jobs:
194
193
- name : Test Tracing JIT
195
194
uses : ./.github/actions/test-linux
196
195
with :
196
+ jitType : tracing
197
197
runTestsParameters : >-
198
198
${{ matrix.run_tests_parameters }}
199
199
-d zend_extension=opcache.so
200
200
-d opcache.enable_cli=1
201
- -d opcache.jit_buffer_size=16M
202
201
- name : Test OpCache
203
202
uses : ./.github/actions/test-linux
204
203
with :
@@ -209,12 +208,11 @@ jobs:
209
208
- name : Test Function JIT
210
209
uses : ./.github/actions/test-linux
211
210
with :
211
+ jitType : function
212
212
runTestsParameters : >-
213
213
${{ matrix.run_tests_parameters }}
214
214
-d zend_extension=opcache.so
215
215
-d opcache.enable_cli=1
216
- -d opcache.jit_buffer_size=16M
217
- -d opcache.jit=1205
218
216
- name : Notify Slack
219
217
if : failure()
220
218
uses : ./.github/actions/notify-slack
@@ -258,29 +256,25 @@ jobs:
258
256
uses : ./.github/actions/test-macos
259
257
with :
260
258
testArtifacts : ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Tracing JIT
259
+ jitType : tracing
261
260
runTestsParameters : >-
262
261
-d zend_extension=opcache.so
263
262
-d opcache.enable_cli=1
264
- -d opcache.protect_memory=1
265
- -d opcache.jit_buffer_size=16M
266
263
- name : Test OpCache
267
264
uses : ./.github/actions/test-macos
268
265
with :
269
266
testArtifacts : ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} OpCache
270
267
runTestsParameters : >-
271
268
-d zend_extension=opcache.so
272
269
-d opcache.enable_cli=1
273
- -d opcache.protect_memory=1
274
270
- name : Test Function JIT
275
271
uses : ./.github/actions/test-macos
276
272
with :
277
273
testArtifacts : ${{ matrix.branch.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }} Function JIT
274
+ jitType : function
278
275
runTestsParameters : >-
279
276
-d zend_extension=opcache.so
280
277
-d opcache.enable_cli=1
281
- -d opcache.protect_memory=1
282
- -d opcache.jit_buffer_size=16M
283
- -d opcache.jit=1205
284
278
- name : Verify generated files are up to date
285
279
uses : ./.github/actions/verify-generated-files
286
280
- name : Notify Slack
@@ -321,6 +315,7 @@ jobs:
321
315
- name : Test OpCache
322
316
uses : ./.github/actions/test-linux
323
317
with :
318
+ jitType : tracing
324
319
runTestsParameters : >-
325
320
-d zend_extension=opcache.so
326
321
-d opcache.enable_cli=1
@@ -375,6 +370,15 @@ jobs:
375
370
echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
376
371
echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
377
372
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
378
382
- name : Test AMPHP
379
383
if : matrix.branch.ref != 'PHP-8.0'
380
384
run : |
0 commit comments