Skip to content

Commit c4d9512

Browse files
gh-139038: Credit more people for JIT in 3.15 (GH-148359)
1 parent 15d10a8 commit c4d9512

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,6 @@ end users running Python do not need LLVM installed. Instructions for
14281428
installing LLVM can be found in the `JIT compiler documentation
14291429
<https://github.com/python/cpython/blob/main/Tools/jit/README.md>`__
14301430
for all supported platforms.
1431-
14321431
(Contributed by Savannah Ostrowski in :gh:`140973`.)
14331432

14341433
.. rubric:: A new tracing frontend
@@ -1440,7 +1439,6 @@ code. For example, simple Python object creation is now understood by the
14401439
supported. This was made possible by an overhauled JIT tracing frontend
14411440
that records actual execution paths through code, rather than estimating
14421441
them as the previous implementation did.
1443-
14441442
(Contributed by Ken Jin in :gh:`139109`. Support for Windows added by
14451443
Mark Shannon in :gh:`141703`.)
14461444

@@ -1450,35 +1448,40 @@ A basic form of register allocation has been added to the JIT compiler's
14501448
optimizer. This allows the JIT compiler to avoid certain stack operations
14511449
altogether and instead operate on registers. This allows the JIT to produce
14521450
more efficient traces by avoiding reads and writes to memory.
1453-
14541451
(Contributed by Mark Shannon in :gh:`135379`.)
14551452

14561453
.. rubric:: More JIT optimizations
14571454

14581455
More `constant-propagation <https://en.wikipedia.org/wiki/Constant_folding>`__
14591456
is now performed. This means when the JIT compiler detects that certain user
14601457
code results in constants, the code can be simplified by the JIT.
1461-
14621458
(Contributed by Ken Jin and Savannah Ostrowski in :gh:`132732`.)
14631459

1464-
The JIT avoids :term:`reference count`\ s where possible. This generally
1460+
:term:`Reference count`\ s are avoided whenever it is safe to do so. This generally
14651461
reduces the cost of most operations in Python.
1466-
14671462
(Contributed by Ken Jin, Donghee Na, Zheao Li, Hai Zhu, Savannah Ostrowski,
14681463
Reiden Ong, Noam Cohen, Tomas Roun, PuQing, Cajetan Rodrigues, and Sacul in :gh:`134584`.)
14691464

1465+
The JIT optimizer now supports significantly more operations than in 3.14.
1466+
(Contributed by Kumar Aditya, Ken Jin, and Sacul in :gh:`131798`.)
1467+
14701468
.. rubric:: Better machine code generation
14711469

14721470
The JIT compiler's machine code generator now produces better machine code
14731471
for x86-64 and AArch64 macOS and Linux targets. In general, users should
14741472
experience lower memory usage for generated machine code and more efficient
1475-
machine code versus the old JIT.
1476-
1473+
machine code versus 3.14.
14771474
(Contributed by Brandt Bucher in :gh:`136528` and :gh:`136528`.
14781475
Implementation for AArch64 contributed by Mark Shannon in :gh:`139855`.
14791476
Additional optimizations for AArch64 contributed by Mark Shannon and
14801477
Diego Russo in :gh:`140683` and :gh:`142305`.)
14811478

1479+
.. rubric:: Maintainability
1480+
1481+
The JIT optimizer's operations have been simplified.
1482+
This was made possible by a refactoring of JIT data structures.
1483+
(Contributed by Zhongtian Zheng in :gh:`148211` and Hai Zhu in :gh:`143421`.)
1484+
14821485

14831486
Removed
14841487
========

0 commit comments

Comments
 (0)