You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GC may have inconsistent view of stacktop with deferred references #118926
In #118450, Sam pointed out that GC can occur at any Py_DECREF. With deferred references, we will need to traverse the object's stacks. The main problem is that frame->stacktop might not represent the true stacktop at a GC collection, because frame->stacktop is not set in between opcodes.
This requires either scanning the entire stack (not just up to stacktop), or deferring GC to safe points.
Activity
GH-118926: Better distinguish between pointer and arrays in interpret…
pythonGH-118926: Better distinguish between pointer and arrays in int…
pythonGH-118926: Better distinguish between pointer and arrays in int…
pythongh-118926: Spill deferred references to stack in cases generator
gh-118926: Spill deferred references to stack in cases generator (#12…
pythongh-118926: Spill deferred references to stack in cases generator (
JacobCoffee commentedon Oct 1, 2024
hey @Fidget-Spinner is this good to close since the ref'd PRs are merged?
Fidget-Spinner commentedon Oct 1, 2024
Yup