]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100227: Only Use deepfreeze for the Main Interpreter (gh-103794)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 24 Apr 2023 21:48:05 +0000 (15:48 -0600)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 21:48:05 +0000 (21:48 +0000)
commit19e4f757de8c7cf2b4b9b4cbb32e376d0e50d2d4
treec845e14c1ed7118c57c5093a11205f88624ea63d
parentae25855045e8f19f4715c9b2c02cbcd81e7f6f95
gh-100227: Only Use deepfreeze for the Main Interpreter (gh-103794)

Deep-frozen code objects are cannot be shared (currently) by
interpreters, due to how adaptive specialization can modify the
bytecodes. We work around this by only using the deep-frozen objects in
the main interpreter. This does incur a performance penalty for
subinterpreters, which we may be able to resolve later.
Makefile.pre.in
Python/frozen.c
Python/import.c