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

add one more reference for the tri-color gc algorithm #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hyperzsb
Copy link

I was really confused about the question raised in this article (Memory Blocks): "why the algorithm uses three colors instead of two colors". So I spent some time searching for comprehensive answers, during which I found this Stack Overflow question.

Not only this question itself cover many aspects of the tri-color GC algorithm, the answer also elaborate some details which are not discussed in other articles. Consequently, it may be helpful for future readers to include this question as another reference.

Initially I planned to add more contents directly to this article, but as I'm not expert at the GC design and implementation, I may introduce some false information and mislead others. It's bad.

I may guess the reason why you introduced only two references from Go official docs and codes here, but I still think adding this (or even other) reference would help readers who have little knowledge about the GC before (like me).

@go101
Copy link
Owner

go101 commented Aug 25, 2023

@Hyperzsb

Thanks for the suggestion. However, as you have noticed, this book only links to official and Go 101 pages.
So it is very probably that I will not accept this PR, at least will not accept it soon.

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.

None yet

2 participants