为什么Golang的垃圾回收器没有实现分代和紧凑的垃圾回收机制?

huangapple go评论85阅读模式
英文:

Why golang garbage-collector not implement Generational and Compact gc?

问题

生成式垃圾回收(Generational GC)和紧凑式垃圾回收(Compact GC)已被认为是最佳实践。但是,Go语言并没有采用它们。谁能告诉我原因?

英文:

Generational and Compact gc have already been thought best practice. But golang doesn't adopt it. Who can tell me the reason?

答案1

得分: 1

我不是GC专家,但这里有几个链接似乎解释了设计:

https://blog.golang.org/go15gc

https://www.youtube.com/watch?v=aiv1JOfMjm0

https://github.com/golang/proposal/blob/master/design/17503-eliminate-rescan.md

英文:

I'm not a GC expert, but here are a few links that seem to explain the desig:

https://blog.golang.org/go15gc

https://www.youtube.com/watch?v=aiv1JOfMjm0

https://github.com/golang/proposal/blob/master/design/17503-eliminate-rescan.md

答案2

得分: 1

这是来自golang-nuts的耐心而启发性的回复。

https://groups.google.com/forum/#!topic/golang-nuts/KJiyv2mV2pU

英文:

Here is the patient and enlightening reply from golang-nuts.

https://groups.google.com/forum/#!topic/golang-nuts/KJiyv2mV2pU

huangapple
  • 本文由 发表于 2017年5月16日 16:13:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/43995901.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定