Skip to content

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented Feb 14, 2024

The free-threaded GC uses mimallocs segment thread IDs to restore the overwritten ob_tid thread ids in PyObjects. For that reason, it's important that PyObjects and mimalloc use the same identifiers.

The free-threaded GC uses mimallocs segment thread IDs to restore
the overwritten `ob_tid` thread ids in PyObjects. For that reason, it's
important that PyObjects and mimalloc use the same identifiers.
Copy link
Contributor

@DinoV DinoV left a comment

Choose a reason for hiding this comment

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

LGTM!

@colesbury colesbury merged commit 326119d into python:main Feb 14, 2024
@colesbury colesbury deleted the gh-112529-thread-id branch February 14, 2024 21:41
colesbury added a commit to colesbury/cpython that referenced this pull request Feb 15, 2024
…ded build"

Reverts: python#115488
Reason: Free-threaded Ubuntu buildbots are timing out
daanx added a commit to microsoft/mimalloc that referenced this pull request May 19, 2024
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