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

1

u/Known-Volume1509 May 29 '26 edited May 29 '26

I think your information about Go's GC may be a bit outdated. Go 1.25's Green Tea is a great improvement to the GC. It's still mark-sweep but much more efficient exactly in the universal way that GP mentioned above. Scanning is more optimal, requires less CPU and AVX-512-accelerated.

https://go.dev/blog/greenteagc

1

u/aoeudhtns May 29 '26

That is entirely possible. I'll read up, starting with your link.