| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| if (_PyFrame_GetCode(frame)->_co_instrumentation_version != tstate->interp->monitoring_version) { | ||
| int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp); | ||
| ERROR_IF(err, error); | ||
| #if TIER_ONE |
There was a problem hiding this comment.
I'd indent the #if etc. to align with the code it guards (we're using a different style here than elsewhere).
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
RESUME is currently written in a way that ignores changes in tracing events when running in our tier two executor. This can manifest itself as assertion errors on debug builds and missing/extra events on release builds when changing events just before an inlined call:
This PR modifies RESUME to detect this condition and deoptimize back to tier one in these cases.