r/ProgrammerHumor • • Oct 07 '26

Meme minecraftException

Post image
9.3k Upvotes

830 comments sorted by

View all comments

Show parent comment

1

u/Ok-Scheme-913 Oct 09 '26

Not really true of moving garbage collectors.

In java's case you just rescue the objects that are still reachable by moving those to another "bucket" , and then simply "say" that the old bucket is garbage and can be freshly reused. It's more of a principle that you DONT touch garbage.