Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Just-in-Time compiler is disabled when opcache.jit_buffer_size is set to 0 #68

Merged
merged 3 commits into from
Apr 10, 2023

Conversation

joanhey
Copy link
Contributor

@joanhey joanhey commented Apr 8, 2023

A zero value disables the JIT.

https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.jit-buffer-size

By default this value is "0".
So the JIT is disabled by default, ignoring any value in opcache.jit.

joanhey added 3 commits April 8, 2023 02:39
A zero value disables the JIT
Using Github directly, without IDE :)
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Merging #68 (94cd6e2) into main (5402cae) will decrease coverage by 1.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #68      +/-   ##
============================================
- Coverage     57.65%   56.63%   -1.03%     
- Complexity       64       65       +1     
============================================
  Files             2        2              
  Lines           111      113       +2     
============================================
  Hits             64       64              
- Misses           47       49       +2     
Impacted Files Coverage Δ
src/Runtime.php 52.08% <0.00%> (-1.11%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sebastianbergmann sebastianbergmann merged commit c336cb9 into sebastianbergmann:main Apr 10, 2023
@joanhey joanhey deleted the patch-1 branch April 10, 2023 14:51
@sebastianbergmann sebastianbergmann changed the title Add validation to opcache.jit_buffer_size The Just-in-Time compiler is disabled when opcache.jit_buffer_size is set to 0 Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants