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
The reference counting stats (for example) show stats for increfs and decrefs (both in the interpreter and in the rest of the executable).
One might assume that is the number of Py_INCREF and Py_DECREFs executed, but it is not. It is the number of Py_INCREF and Py_DECREF where the object in question is mortal. We should add stats for Py_INCREF and Py_DECREFs of immortal objects as well.
Bug description:
The reference counting stats (for example) show stats for increfs and decrefs (both in the interpreter and in the rest of the executable).
One might assume that is the number of
Py_INCREF
andPy_DECREF
s executed, but it is not. It is the number ofPy_INCREF
andPy_DECREF
where the object in question is mortal. We should add stats forPy_INCREF
andPy_DECREF
s of immortal objects as well.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: