'Eden space' name origin in Garbage Collection
In Garbage Collection terminology, why is it called 'Eden Sp开发者_如何学编程ace'?
Just like that. I'm still getting familiar with the terminology and I cannot understand why it has such name.
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.
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.
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.
精彩评论