Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Track executor object with GC
  • Loading branch information
ashm-dev committed Oct 11, 2025
commit 3a2d34bad6bdeff24e9e8ee842798122c94ebc49
2 changes: 1 addition & 1 deletion Python/optimizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ make_executor_from_uops(_PyUOpInstruction *buffer, int length, const _PyBloomFil
}
sanity_check(executor);
#endif
_PyObject_GC_TRACK(executor);
#ifdef _Py_JIT
executor->jit_code = NULL;
executor->jit_size = 0;
Expand All @@ -1257,7 +1258,6 @@ make_executor_from_uops(_PyUOpInstruction *buffer, int length, const _PyBloomFil
return NULL;
}
#endif
_PyObject_GC_TRACK(executor);
return executor;
}

Expand Down
Loading