Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-128954: Reorder _PyInterpreterFrame fields for reduced memory usage #128958

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Jan 17, 2025

This reduces the size of _PyInterpreterFrame by 8 bytes on 64-bit platforms using the free threading build due to alignment requirements.

This allows for slightly more recursive calls into the interpreter (from C), but test_call.test_super_deep still crashes.

…y usage

This reduces the size of _PyInterpreterFrame by 8 bytes on 64-bit
platforms using the free threading build due to alignment requirements.

This allows for slightly more recursive calls into the interpreter (from
C), but `test_call.test_super_deep` still crashes.
@mgorny
Copy link
Contributor

mgorny commented Jan 18, 2025

This allows for slightly more recursive calls into the interpreter (from C), but test_call.test_super_deep still crashes.

Oh, so you can reproduce? Feels better that it's not PEBKAC.

@colesbury colesbury enabled auto-merge (squash) January 27, 2025 16:52
@colesbury colesbury merged commit a6a8c6f into python:main Jan 27, 2025
40 checks passed
@colesbury colesbury deleted the gh-128954-frame branch February 14, 2025 18:16
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.

5 participants