Re:Police Cannot Seize Property Indefinitely After an Arrest...
by OutOfHere on Sunday August 18, 2024 @03:09PM
(#41284592)
Apologies, but I meant it terms of the guarantees that a GC offers. Yes, the GC can delay, but it will never over-eagerly reclaim beyond its advertised guarantee. It will always err on the side of not reclaiming.
Re:Police Cannot Seize Property Indefinitely After an Arrest...
by ffgjgf1 on Sunday August 18, 2024 @03:12PM
(#41284624)
So exactly the same as saying that you will get your money back at some undefined point in the future whenever the police agency you’re dealing it will find it convenient?
Re:Police Cannot Seize Property Indefinitely After an Arrest...
by OutOfHere on Sunday August 18, 2024 @03:15PM
(#41284650)
No, rather that your money (memory) will never be taken away from you (your application) by the police/system (runtime/OS) without an objective rule.
There are no hard promises about when or even whether GC will reclaim a particular piece of garbage, precisely to enable optimizations and necessary compromises. Application availability is often more important than immediately collecting every possible piece of garbage. The use of tagging, generations, arenas, etc. all allow the GC to use heuristics and apply different collection regimes to different pieces of garbage.