-
Notifications
You must be signed in to change notification settings - Fork 167
fix(prof): disable allocation profiling when JIT is enabled on PHP 8.4 #3199
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3199 +/- ##
=========================================
Coverage 78.92% 78.92%
Complexity 2927 2927
=========================================
Files 114 114
Lines 11582 11582
=========================================
Hits 9141 9141
Misses 2441 2441
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Benchmarks [ profiler ]Benchmark execution time: 2025-04-09 15:24:42 Comparing candidate commit 9f65c84 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 28 metrics, 8 unstable metrics. |
aa1736b
to
4dfd79e
Compare
4dfd79e
to
9f65c84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sad, but apparently necessary 😔
#3199) * Disable allocation profiling when JIT is enabled on PHP 8.4 * update link * add test and update link
Description
A customer reached out in #3197 with a crash while collecting a stack frame for an allocation that is done while hot function is compiled. This code seems to be there since the new JIT in PHP 8.4. So for now we are disabling allocation profiling when an active JIT is detected in PHP 8.4.
Update
The upstream fix was released with PHP 8.4.7
Reviewer checklist