4 ms·
Go's GC is not currently generational. As others have mentioned, Go gives you more control over memory which helps considerably. If you want to know more about
by kardianos 7y ago
Go's GC is not currently generational. As others have mentioned, Go gives you more control over memory which helps considerably.
If you want to know more about the current progress, there is a great presentation -> blog here: https://blog.golang.org/ismmkeynote https://blog.golang.org/ismmkeynote
And you can see the most recent generational GC code here:
https://go-review.googlesource.com/c/go/+/137482 https://go-review.googlesource.com/c/go/+/137482
Though my guess is it won't get merged into mainline for Go1.13 as it is already in code freeze.