Skip to content

Conversation

@d-netto
Copy link
Member

@d-netto d-netto commented Dec 5, 2025

See PR title. I believe it's a good idea to document this property in code with an assertion, since it's a tricky invariant that makes it safe to use our current lock-free list implementation.

In the long term, it might be better to use a lock-free list with an actual ABA-prevention mechanism to make the code more robust.

@d-netto d-netto added the GC Garbage collector label Dec 5, 2025
@d-netto d-netto force-pushed the dcn-gc-integrity-constraint branch from e68386d to 033d877 Compare December 5, 2025 15:52
@d-netto d-netto merged commit ad4c4af into master Dec 5, 2025
5 of 8 checks passed
@d-netto d-netto deleted the dcn-gc-integrity-constraint branch December 5, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GC Garbage collector

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants