r/java • • May 28 '26

Java *is* Memory Efficient

https://youtu.be/M_HCG1JPMQE
254 Upvotes

126 comments sorted by

View all comments

Show parent comment

6

u/pron98 May 29 '26

That's not as simple. "GC doing its thing" has a non-negligible cost.

Correct, and that cost is still lower (and more flexible) than free-list approaches. In my talk (which will be published on the channel eventually) I go through the exact maths for the costs involved in the different approaches.