• Home
  • Raw
  • Download

Lines Matching full:objects

14 and set debugging options.  It also provides access to unreachable objects that
20 ``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be saved in
46 unreachable objects found is returned.
71 Returns a list of all objects tracked by the collector, excluding the list
72 returned. If *generation* is not None, return only the objects tracked by
89 * ``collected`` is the total number of objects collected inside this
92 * ``uncollectable`` is the total number of objects which were found
104 The GC classifies objects into three generations depending on how many
105 collection sweeps they have survived. New objects are placed in the youngest
108 generation, objects in that generation remain there after a collection. In
133 Return the list of objects that directly refer to any of objs. This function
135 types which do refer to other objects but do not support garbage collection will
138 Note that objects which have already been dereferenced, but which live in cycles
140 resulting referrers. To get only currently live objects, call :func:`collect`
144 Care must be taken when using objects returned by :func:`get_referrers` because
154 Return a list of objects directly referred to by any of the arguments. The
155 referents returned are those objects visited by the arguments' C-level
156 :c:member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all objects actually
157 directly reachable. :c:member:`~PyTypeObject.tp_traverse` methods are supported only by objects
158 that support garbage collection, and are only required to visit objects that may
169 objects...) are. However, some type-specific optimizations can be present
212 Freeze all the objects tracked by the garbage collector; move them to a
219 child processes won't touch the ``gc_refs`` counter of long-lived objects
229 Unfreeze the objects in the permanent generation, put them back into the
237 Return the number of objects in the permanent generation.
247 A list of objects which the collector found to be unreachable but could
248 not be freed (uncollectable objects). Starting with Python 3.4, this
252 If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be
258 :const:`DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects
262 Following :pep:`442`, objects with a :meth:`__del__` method don't end
282 "collected": When *phase* is "stop", the number of objects
285 "uncollectable": When *phase* is "stop", the number of objects
312 Print information on collectable objects found.
317 Print information of uncollectable objects found (objects which are not
318 reachable but cannot be freed by the collector). These objects will be added
327 When set, all unreachable objects found will be appended to *garbage* rather