4 ms·
>> It is a little know fact that you can actually swap out the GC of the runtime. So you could plug in a null implementation How do you do this? Just so I can
by CraigJPerry 2y ago
>> It is a little know fact that you can actually swap out the GC of the runtime. So you could plug in a null implementation
How do you do this? Just so I can have another tool in my tool shed. Googling got me to an archived repo on GitHub with a sample GC - which is enough but Wonder if there’s something off the shelf.
In java land, the Epsilon GC (a do nothing GC) enables a pattern that’s handy in perf test jobs in CI pipelines occasionally for some projects (I.e. run with epsilon but constrain max memory for the process - ci builds will fail if memory usage increases)
- algorithmsRcool 2y agoIt isn't trivial but it is supported. Here is an example [0] toy. I am not aware of any production grade replacement GCs for .NET out there currently https://github.com/kkokosa/UpsilonGC https://github.com/kkokosa/UpsilonGC