[pypy-issue] Issue #2858: In some cases, the GIL is not released often enough (pypy/pypy)

Armin Rigo issues-reply at bitbucket.org
Fri Jul 13 12:50:55 EDT 2018


New issue 2858: In some cases, the GIL is not released often enough
https://bitbucket.org/pypy/pypy/issues/2858/in-some-cases-the-gil-is-not-released

Armin Rigo:

The GIL is implemented with optimizations that try to not release it during a burst of very short C calls.  But in some cases these optimizations are too eager and cause the GIL to remain in the same thread, seemingly for up to 20ms.  See attached demo.




More information about the pypy-issue mailing list