mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
GH-117108: Set the "old space bit" to "visited" for all young objects (#117213)
Change old space bit of young objects from 0 to gcstate->visited_space. This ensures that any object created *and* collected during cycle GC has the bit set correctly.
This commit is contained in:
parent
bf82f77957
commit
8bef34f625
5 changed files with 56 additions and 43 deletions
|
|
@ -0,0 +1,3 @@
|
|||
Change the old space bit of objects in the young generation from 0 to
|
||||
gcstate->visited, so that any objects created during GC will have the old
|
||||
bit set correctly if they get moved into the old generation.
|
||||
Loading…
Add table
Add a link
Reference in a new issue