-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
gh-116397: Move the _PyGC_ClearAllFreeLists to the safe point #116414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
corona10
commented
Mar 6, 2024
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: _PyGC_ClearAllFreeLists called while other threads may be running #116397
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should run the refleak buildbots on this PR. If the refleak tracking or allocated blocks tests are a problem, we may also want to clear the current thread's free-list again after the GC (i.e., where we previously were calling _PyGC_ClearAllFreeLists()
). That should be safe and I expect will fix the tests.