'Eden space' name origin in Garbage Collection

假装没事ソ 提交于 2019-12-03 16:17:05

问题


In Garbage Collection terminology, why is it called 'Eden Space'?

Just like that. I'm still getting familiar with the terminology and I cannot understand why it has such name.


回答1:


Eden space is where objects are created. Life for them is all happy but eventually they're chased out by a cherub into the wilderness of the young and later the old generation.

They are never allowed back in Eden space, they have to stay in the rough world of continuous tenuring until the Grim Collector comes for them.

However, unlike the original Eden, it is possible to die there. Well, I guess all metaphors break down under closer scrutiny.




回答2:


It's an allusion to the garden of Eden. It's also called "creation space." Adam and Eve were, according to Genesis, put in Eden. When they ate the fruit from the tree of knowledge, they were kicked out of the garden.




回答3:


New objects are allocated memory in the Eden Space memory pool (as in created in Eden)

If they live long enough, they get kicked out.



来源:https://stackoverflow.com/questions/5383256/eden-space-name-origin-in-garbage-collection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!