Author steve.dower
Recipients carljm, corona10, eelizondo, gregory.p.smith, nascheme, pablogsal, pitrou, shihai1991, steve.dower, tim.peters, vstinner
Date 2020-04-14.17:50:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586886614.82.0.189451697305.issue40255@roundup.psfhosted.org>
In-reply-to
Content
There hasn't been much said about which kind of objects would be immortal. Could this be a creation-time option? Or a type object (similar to a no-op tp_dealloc)?

If it's something that is known when the object is created, then some of the "infection" concern can be reduced - but if you wanted to arbitrarily make arbitrary objects immortal dynamically then it's a different matter.

Another benefit of knowing at creation time is that immortal objects could be allocated to a different page (or potentially even to read-only shared memory, if that was appropriate).
History
Date User Action Args
2020-04-14 17:50:14steve.dowersetrecipients: + steve.dower, tim.peters, nascheme, gregory.p.smith, pitrou, vstinner, carljm, corona10, pablogsal, eelizondo, shihai1991
2020-04-14 17:50:14steve.dowersetmessageid: <1586886614.82.0.189451697305.issue40255@roundup.psfhosted.org>
2020-04-14 17:50:14steve.dowerlinkissue40255 messages
2020-04-14 17:50:14steve.dowercreate