简体   繁体   中英

'Eden space' name origin in Garbage Collection

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM