Skip to content

Conversation

@sergey-miryanov
Copy link
Contributor

@sergey-miryanov sergey-miryanov commented Nov 25, 2025

Not sure about adding news entry. Will skip it now.

@sergey-miryanov
Copy link
Contributor Author

@markshannon @Fidget-Spinner Could you please take a look?

@sergey-miryanov
Copy link
Contributor Author

Failed as in #141956.
So not sure that the failed test is related to the PR.

@sergey-miryanov
Copy link
Contributor Author

It seems related. Looking into it.

@sergey-miryanov
Copy link
Contributor Author

Here https://github.com/python/cpython/pull/140310/files condition in the test_jit_is_active was changed from expected = {enabled} and i == _testinternalcapi.TIER2_THRESHOLD to expected = {enabled} and i >= _testinternalcapi.TIER2_THRESHOLD + 1

IIUC, TIER2_THRESHOLD already contains a +1 for tracing iteration. So if i reach TIER2_THRESHOLD then jit is enabled.

@markshannon markshannon changed the title GH-141861: Fix TRACE_RECOPD if full GH-141861: Fix TRACE_RECORD if full Nov 25, 2025
Copy link
Member

@Fidget-Spinner Fidget-Spinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants