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:
Neil Schemenauer 2025-04-28 23:38:29 -07:00 committed by GitHub
parent 219b1f9d1d
commit eecafc3380
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 112 additions and 233 deletions

View file

@ -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