File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -118,20 +118,6 @@ static inline void _PyObject_GC_SET_SHARED(PyObject *op) {
118118/* Bit 1 is set when the object is in generation which is GCed currently. */
119119#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
120120
121- /* Bit 0 in _gc_next is the old space bit.
122- * It is set as follows:
123- * Young: gcstate->visited_space
124- * old[0]: 0
125- * old[1]: 1
126- * permanent: 0
127- *
128- * During a collection all objects handled should have the bit set to
129- * gcstate->visited_space, as objects are moved from the young gen
130- * and the increment into old[gcstate->visited_space].
131- * When object are moved from the pending space, old[gcstate->visited_space^1]
132- * into the increment, the old space bit is flipped.
133- */
134-
135121#define _PyGC_PREV_SHIFT 2
136122#define _PyGC_PREV_MASK (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
137123
You can’t perform that action at this time.
0 commit comments