Implementing switch to disable generational behaviour of the GC #56646
Open
Description
opened on Nov 21, 2024
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