• brainfvck's avatar
    bpo-31558: Add gc.freeze() (#3705) · c75edabb
    brainfvck yazdı
    Freeze all the objects tracked by gc - move them to a permanent generation
    and ignore all the future collections. This can be used before a POSIX
    fork() call to make the gc copy-on-write friendly or to speed up collection.
    c75edabb
mem.h 7.34 KB