Skip to content

Commit 170839d

Browse files
Do not invalidate on function deallocation
1 parent 645f5c4 commit 170839d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Objects/funcobject.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,10 +1126,10 @@ func_dealloc(PyObject *self)
11261126
if (_PyObject_ResurrectEnd(self)) {
11271127
return;
11281128
}
1129-
#if _Py_TIER2
1130-
_Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), self, 1);
1131-
_PyJit_Tracer_InvalidateDependency(_PyThreadState_GET(), self);
1132-
#endif
1129+
// #if _Py_TIER2
1130+
// _Py_Executors_InvalidateDependency(_PyInterpreterState_GET(), self, 1);
1131+
// _PyJit_Tracer_InvalidateDependency(_PyThreadState_GET(), self);
1132+
// #endif
11331133
_PyObject_GC_UNTRACK(op);
11341134
FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
11351135
(void)func_clear((PyObject*)op);

0 commit comments

Comments
 (0)