[pypy-issue] Issue #2858: In some cases, the GIL is not released often enough (pypy/pypy)
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
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