gh-137838: Fix JIT trace buffer overrun by increasing possible exit stubs (gh-138177)

This commit is contained in:
Donghee Na 2025-09-09 09:51:08 +09:00 committed by GitHub
parent 03ee060ec8
commit 5edfe55acf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 19 additions and 6 deletions

View file

@ -119,7 +119,7 @@ PyAPI_FUNC(void) _Py_Executors_InvalidateCold(PyInterpreterState *interp);
#define JIT_CLEANUP_THRESHOLD 100000
// This is the length of the trace we project initially.
#define UOP_MAX_TRACE_LENGTH 800
#define UOP_MAX_TRACE_LENGTH 1200
#define TRACE_STACK_SIZE 5