Skip to content

Commit e0607dc

Browse files
committed
1 << 14
1 parent 73b8674 commit e0607dc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_external_inspection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3811,7 +3811,7 @@ class TestFrameChainLimits(RemoteInspectionTestBase):
38113811
# Limits plus one, to exceed them (must match MAX_FRAME_CHAIN_DEPTH /
38123812
# MAX_TASK_WAITER_WALK_TASKS from _remote_debugging.h)
38133813
FRAME_CHAIN_DEPTH = 1024 + 512 + 1
3814-
TASK_WAITER_WALK_TASKS = 2**16 + 1
3814+
TASK_WAITER_WALK_TASKS = 2**14 + 1
38153815

38163816
def _assert_unwinder_limit_error(self, unwind, expected_substring):
38173817
"""Call unwind() until it raises the frame chain limit error.

Modules/_remote_debugging/_remote_debugging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ typedef enum _WIN32_THREADSTATE {
148148
#define MAX_LONG_DIGITS 64 /* Allows values up to ~2^1920 */
149149
#define MAX_SET_TABLE_SIZE (1 << 20) /* 1 million entries max for set iteration */
150150
#define MAX_FRAME_CHAIN_DEPTH (1024 + 512) /* Iteration bound for frame chain walks */
151-
#define MAX_TASK_WAITER_WALK_TASKS (1 << 16) /* Total-task bound for waiter walks */
151+
#define MAX_TASK_WAITER_WALK_TASKS (1 << 14) /* Total-task bound for waiter walks */
152152

153153
#ifndef MAX
154154
#define MAX(a, b) ((a) > (b) ? (a) : (b))

0 commit comments

Comments
 (0)