What kind of Garbage Collection does Go use?

后端 未结 5 2038
余生分开走
余生分开走 2020-12-02 04:58

Go is a garbage collected language:

http://golang.org/doc/go_faq.html#garbage_collection

Here it says that it\'s a mark-and-sweep garbage collector, but it d

5条回答
  •  再見小時候
    2020-12-02 05:24

    I'm not sure, but I think the current (tip) GC is already a parallel one or at least it's a WIP. Thus the stop-the-world property doesn't apply any more or will not in the near future. Perhaps someone other can clarify this in more detail.

提交回复
热议问题