Closed
Description
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
and Py_DECREF
s 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_DECREF
s of immortal objects as well.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response