'Eden space' name origin in Garbage Collection
Asked Answered
P

3

22

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.

Pharmacognosy answered 21/3, 2011 at 20:29 Comment(0)
P
63

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.

Puissant answered 21/3, 2011 at 20:36 Comment(2)
Other GC implementations call this a nursery.Stickinthemud
@Stickinthemud I wouldn't even think of trying to extend the metaphor to cover that. :)Puissant
U
8

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.

Ultimatum answered 21/3, 2011 at 20:33 Comment(1)
Sure, I got that part figured out. Can you elaborate on why?:)Pharmacognosy
W
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.

Wayfaring answered 21/3, 2011 at 20:35 Comment(3)
As in (paraphrasing the Wikipedia entry) 'The Garden of Eden being the place where the first objects, lived after they were created by God.' ?Pharmacognosy
Pretty much. Though they don't have to eat an apple to get kicked out.Wayfaring
Actually, it was not an apple. Just fruitExplore

© 2022 - 2024 — McMap. All rights reserved.