Author eelizondo
Recipients eelizondo
Date 2020-04-11.15:40:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586619621.82.0.553262088399.issue40255@roundup.psfhosted.org>
In-reply-to
Content
Copy on writes are a big problem in large Python application that rely on multiple processes sharing the same memory.

With the implementation of `gc.freeze`, we've attenuated the problem by removing the CoW coming from the GC Head. However, reference counting still causes CoW.

This introduces Immortal Instances which allows the user to bypass reference counting on specific objects and avoid CoW on forked processes.

Immortal Instances are specially useful for applications that cache heap objects in shared memory which live throughout the entire execution (i.e modules, code, bytecode, etc.)
History
Date User Action Args
2020-04-11 15:40:21eelizondosetrecipients: + eelizondo
2020-04-11 15:40:21eelizondosetmessageid: <1586619621.82.0.553262088399.issue40255@roundup.psfhosted.org>
2020-04-11 15:40:21eelizondolinkissue40255 messages
2020-04-11 15:40:21eelizondocreate