40 ms·
With programmer support and weak references.
by mpweiher 8y ago
With programmer support and weak references.
- chrisseaton 8y agoWell it’s easy to make a GC with consistent latency if your attitude is ‘don’t collect things that need inconsistent latency to collect.’
- fpoling 8y agoWith a good architecture and right tools to detect cycles due to bugs the reference counting works even for complex applications. Essentially this is a trade off between development time versus headache at deployment.
- mpweiher 8y agoIt's not a GC (in the now common vernacular). Easy is good, particularly if it works well. Which it does. Also much more frugal with memory than typical tracing GCs.
- abalone 8y agoI doubt cyclical references are the only cause of inconsistent latency in mark and sweep.
- chrisseaton 8y agoThey aren’t in mark and sweep but they are in reference counting.