3 ms·
There's no reference count on the object. That's not how garbage collection works in .NET, or Java for that matter.
by nmeofthestate 6y ago
There's no reference count on the object. That's not how garbage collection works in .NET, or Java for that matter.
- pjmlp 6y agoThey don't define which algorithms are to be used, and at least in what concerns Java, there are some implementations that experimented with reference counting based GCs. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/rcix-oopsla-2013.pdf https://www.microsoft.com/en-us/research/wp-content/uploads/...