Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> ZGC does not stand for zero. It stands for Z Garbage Collector.

Apologies - I was attempting to referring to "absolutely no" garbage collection path. I was thinking of Epsilon [0].

> It's also necessary to understand if this is a good idea at all - most of the time you do want to just rely on GC.

Assume we are building a cruise missile flight computer. I have enough ram for ~100 hours of flight if we never clean up any allocations. I only have enough fuel for 8 hours of flight on a good day. Why do I still need a garbage collector? All I need is a garbage generator. The terminal ballistics and warhead are the "out of band" aspects in this arrangement.

> You could try using https://github.com/kkokosa/UpsilonGC and seeing if it still works.

I've spent weeks on this exact thing. I cannot get it to work. This gets me back to the first party support aspect.

[0] https://openjdk.org/jeps/318



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: