This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Clear lists and dicts freelist in gc.collect()
Type: resource usage Stage: resolved
Components: Interpreter Core Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pitrou, python-dev
Priority: normal Keywords: patch

Created on 2011-11-12 23:17 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
listfreelist.patch pitrou, 2011-11-12 23:17 review
listdictfreelist.patch pitrou, 2011-11-12 23:53 review
Messages (4)
msg147530 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-11-12 23:17
Complete gc collections currently clear all freelists, except for the freelist of list objects. Attached patch fixes the omission.
msg147533 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-11-12 23:44
Dicts also have a freelist which isn't freed either. New patch attached.
msg147535 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2011-11-12 23:53
Fix the return values and add documentation.
msg147636 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-14 23:10
New changeset 910986542a75 by Antoine Pitrou in branch 'default':
Issue #13389: Full garbage collection passes now clear the freelists for
http://hg.python.org/cpython/rev/910986542a75
History
Date User Action Args
2022-04-11 14:57:23adminsetgithub: 57598
2011-11-14 23:14:09pitrousetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2011-11-14 23:10:36python-devsetnosy: + python-dev
messages: + msg147636
2011-11-12 23:53:23pitrousetfiles: - listdictfreelist.patch
2011-11-12 23:53:06pitrousettitle: Clear lists freelist in gc.collect() -> Clear lists and dicts freelist in gc.collect()
2011-11-12 23:53:00pitrousetfiles: + listdictfreelist.patch

messages: + msg147535
2011-11-12 23:44:42pitrousetfiles: + listdictfreelist.patch

messages: + msg147533
2011-11-12 23:17:14pitroucreate