]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-139109: Partial reworking of JIT data structures (GH-144105)
authorMark Shannon <Mark.Shannon@arm.com>
Thu, 22 Jan 2026 10:55:49 +0000 (10:55 +0000)
committerGitHub <noreply@github.com>
Thu, 22 Jan 2026 10:55:49 +0000 (10:55 +0000)
commitd77aaa73116aa469cc6b7a0f8a68f3f30fd41962
tree28bb86580e3ae7f1018422b27938da595aacb03a
parentfb690c38cafb15e4ccddc52aba37f9470ce201a0
GH-139109: Partial reworking of JIT data structures (GH-144105)

* Halve size of buffers by reusing combined trace + optimizer buffers for TOS caching
* Add simple buffer struct for more maintainable handling of buffers
* Decouple JIT structs from thread state struct
* Ensure terminator is added to trace, when optimizer gives up
Include/internal/pycore_optimizer.h
Include/internal/pycore_optimizer_types.h
Include/internal/pycore_tstate.h
Include/internal/pycore_uop.h
Python/ceval_macros.h
Python/optimizer.c
Python/optimizer_analysis.c
Python/optimizer_bytecodes.c
Python/optimizer_cases.c.h
Python/pystate.c