Garbage Collection

后端 未结 6 1813
暗喜
暗喜 2021-02-04 15:55

I am not able to understand few things on the Garbage collection.

Firstly, how is data allocated space ? i.e. on stack or heap( As per my knowledge, all static or globa

6条回答
  •  抹茶落季
    2021-02-04 16:20

    Read this article. It is a very good survey on uniprocessor garbage collection techniques. It will give you the basic understanding and terminology on GC. Then, follow up with the Jones and Lins book "Garbage Collection: Algorithms for Automatic Dynamic Memory Management". Contrary to the survey article I point to above, the book is not available for free on the Web; you have to buy it; but it is worth it.

提交回复
热议问题