10000 GH-108362: Incremental GC implementation by markshannon · Pull Request #116199 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-108362: Incremental GC implementation #116199

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

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
File filter 8000

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix assertion
  • Loading branch information
markshannon committed Feb 2, 2024
commit fb4d9ab1c0ac4276ee2ff8c79031feb7051092f5
2 changes: 1 addition & 1 deletion Python/gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ gc_collect_increment(PyThreadState *tstate, struct gc_collection_stats *stats)
gc_set_old_space(gc, gcstate->visited_space);
region_size += expand_region_transitively_reachable(&increment, gc, gcstate);
}
assert(region_size = gc_list_size(&increment));
assert(region_size == gc_list_size(&increment));
PyGC_Head survivors;
gc_list_init(&survivors);
gc_collect_region(tstate, &increment, &survivors, UNTRACK_TUPLES, stats);
Expand Down
0