Skip to content

Implementing switch to disable generational behaviour of the GC #56646

Open
@gbaraldi

Description

While experimenting with julia as a shared lib the GC can become a latency issue. Specifically full GCs can cause significant pauses. While taking a look it dawned on me that some workflows don't allocate any amount of permanent memory and all of it is short lived, so turning any of it old is wasteful anyway.
I'm proposing adding a switch that turns off full gcs and promoting objects to the old age. Python has something similar called freeze https://docs.python.org/3/library/gc.html#gc.freeze

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    GCGarbage collector

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions