summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-05-27 23:38:01 (GMT)
committerGitHub <noreply@github.com>2022-05-27 23:38:01 (GMT)
commitcaa279d6fd5f151e57f891cd4f6ba51b532501c6 (patch)
treec19c87efdefab0b4e4a5291896cfb86e37ec90f2 /Modules/gcmodule.c
parente6a57678cafe18ca132ee9510252168fcc392a8d (diff)
downloadcpython-caa279d6fd5f151e57f891cd4f6ba51b532501c6.zip
cpython-caa279d6fd5f151e57f891cd4f6ba51b532501c6.tar.gz
cpython-caa279d6fd5f151e57f891cd4f6ba51b532501c6.tar.bz2
bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185)
This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing: * the configure option * the macro * the code enabled by the macro
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 45dad8f..3bda6e4 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -1195,14 +1195,6 @@ gc_collect_main(PyThreadState *tstate, int generation,
assert(gcstate->garbage != NULL);
assert(!_PyErr_Occurred(tstate));
-#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS
- if (tstate->interp->config._isolated_interpreter) {
- // bpo-40533: The garbage collector must not be run on parallel on
- // Python objects shared by multiple interpreters.
- return 0;
- }
-#endif
-
if (gcstate->debug & DEBUG_STATS) {
PySys_WriteStderr("gc: collecting generation %d...\n", generation);
show_stats_each_generations(gcstate);