[3.14] gh-129752: Don't update adaptive counters when TLBC=0 in free-… · python/cpython@befac58 · GitHub
Skip to content

Commit befac58

Browse files
committed
[3.14] gh-129752: Don't update adaptive counters when TLBC=0 in free-threading. (gh-155497)
(cherry picked from commit ee4fe00) Co-authored-by: Donghee Na <donghee.na@python.org>
1 parent 83197a5 commit befac58

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

Lib/test/test_thread_local_bytecode.py

Lines changed: 0 additions & 1 deletion
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Don't update adaptive counters in the free-threaded build when thread-local
2+
bytecode is disabled (``-X tlbc=0``). Patch by Donghee Na.

Python/ceval_macros.h

Lines changed: 20 additions & 0 deletions

0 commit comments

Comments
 (0)