mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Revert gh-127266: avoid data races when updating type slots (gh-131174) (gh-133129)
This is triggering deadlocks in test_opcache. See GH-133130 for stack trace.
This commit is contained in:
parent
219b1f9d1d
commit
eecafc3380
10 changed files with 112 additions and 233 deletions
|
@ -19,6 +19,9 @@ immortal. The latter should be the only instances that require
|
|||
cleanup during runtime finalization.
|
||||
*/
|
||||
|
||||
#define _Py_STATICALLY_ALLOCATED_FLAG 4
|
||||
#define _Py_IMMORTAL_FLAGS 1
|
||||
|
||||
#if SIZEOF_VOID_P > 4
|
||||
/*
|
||||
In 64+ bit systems, any object whose 32 bit reference count is >= 2**31
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue