This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eelizondo
Recipients eelizondo
Date 2020-04-11.15:40:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.)
Date User Action Args
2020-04-11 15:40:21eelizondosetrecipients: + eelizondo
2020-04-11 15:40:21eelizondosetmessageid: <>
2020-04-11 15:40:21eelizondolinkissue40255 messages
2020-04-11 15:40:21eelizondocreate