Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Nov 2, 2025

ptrhash_bp may create an entry in the hashtable, and return a pointer that allows inserting a value as well. We need to pin both keys and values for ptrhash_bp.

Related: mmtk/mmtk-julia#240

Copy link

@udesou udesou left a comment

Choose a reason for hiding this comment

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

Could you add comments to those places just so we know the reason why we're adding those pins? Otherwise, LGTM.

@qinsoon
Copy link
Member Author

qinsoon commented Nov 3, 2025

Could you add comments to those places just so we know the reason why we're adding those pins? Otherwise, LGTM.

Done.

@qinsoon qinsoon merged commit 8e34251 into mmtk:mmtk-support-moving-upstream Nov 3, 2025
3 checks passed
qinsoon added a commit that referenced this pull request Nov 4, 2025
`ptrhash_bp` may create an entry in the hashtable, and return a pointer that allows inserting a value as well. We need to pin both keys and values for `ptrhash_bp`.

Related: mmtk/mmtk-julia#240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants