We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93d5c0e commit 2782577Copy full SHA for 2782577
ext/opcache/jit/zend_jit.c
@@ -3369,6 +3369,15 @@ ZEND_EXT_API int zend_jit_check_support(void)
3369
}
3370
3371
3372
+#if defined(IR_TARGET_AARCH64)
3373
+ if (JIT_G(buffer_size) > 128*1024*1024) {
3374
+ zend_error(E_WARNING, "JIT on AArch64 doesn't support opcache.jit_buffer_size above 128M.");
3375
+ JIT_G(enabled) = 0;
3376
+ JIT_G(on) = 0;
3377
+ return FAILURE;
3378
+ }
3379
+#endif
3380
+
3381
return SUCCESS;
3382
3383
0 commit comments