4 ms·
Java already has that GC, it's called Epsilon https://blogs.oracle.com/javamagazine/post/epsilon-the-jdks-do-nothing-garbage-collector https://blogs.oracle.com/
by kanzenryu2 4y ago
Java already has that GC, it's called Epsilon https://blogs.oracle.com/javamagazine/post/epsilon-the-jdks-do-nothing-garbage-collector https://blogs.oracle.com/javamagazine/post/epsilon-the-jdks-...
- Alifatisk 4y agoEpsilon doesn't GC at all?
- deleted 4y ago[deleted]
- kaba0 4y agoI think it was a tongue in cheek reply, as it is indeed a no-code, no-pause, no-compute power GC that does eventually reclaim the garbage (at process exit).
- Alifatisk 4y agoCorrect me if I am wrong but does it really GC at all if you receive an OutOfMemoryError?
- kaba0 4y agoIt’s meant for short lived apps where you simply wouldn’t get OOM either way. I don’t know about an objective definition for what a GC is, one I quite like is “gives the illusion of infinite memory”, based on that it isn’t a GC. But there are also conservative GCs, RCs, etc, that fail different definitions also (leaving behind circular dependencies, having false positives, in reverse order), like in case of many things in CS, there isn’t an objective definition.
- Alifatisk 4y agoThank you for the explanation, I think I get it now!