'Eden space' name origin in Garbage Collec

2019-03-17 17:43发布

问题:

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.