Skip to content

Conversation

@matrixise
Copy link
Member

@matrixise matrixise commented Mar 18, 2019

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I would prefer that @ericsnowcurrently review it since he added _PyRuntime.xidregistry (and its mutex).

@vstinner
Copy link
Member

Python 3.7 is not affected: it doesn't have _PyRuntime.xidregistry.

Copy link
Contributor

@eamanu eamanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks for working on this!

@ericsnowcurrently
Copy link
Member

FWIW, _PyRuntime.ceval.pending.lock may be leaking too.

@vstinner
Copy link
Member

FWIW, _PyRuntime.ceval.pending.lock may be leaking too.

@matrixise: Can you try to free _PyRuntime.ceval.pending.lock in _PyEval_FiniThreads()?

@matrixise
Copy link
Member Author

@ericsnowcurrently I will check in an other PR. Thanks for the review

@matrixise
Copy link
Member Author

Ok i will do it

@vstinner vstinner merged commit 943395f into python:master Mar 19, 2019
@vstinner
Copy link
Member

I merged this PR, thanks @matrixise.

Oh, there are now too many leaks... I merged https://bugs.python.org/issue36356 PR and I wrote PR #12432 to free the pending lock, to have a better view of remaining leaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants