24

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.

3 Answers 3

65

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.

Sign up to request clarification or add additional context in comments.

Other GC implementations call this a nursery.
@Tobu I wouldn't even think of trying to extend the metaphor to cover that. :)
9

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.

Sure, I got that part figured out. Can you elaborate on why?:)
4

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.

As in (paraphrasing the Wikipedia entry) 'The Garden of Eden being the place where the first objects, lived after they were created by God.' ?
Pretty much. Though they don't have to eat an apple to get kicked out.
Actually, it was not an apple. Just fruit

Your Answer

Draft saved
Draft discarded

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.