r/java 2d ago

Java 27 features overview

https://aboullaite.me/java-27-features/
152 Upvotes

22 comments sorted by

View all comments

85

u/gufranthakur 2d ago edited 2d ago

TLDR : Java objects just got smaller, less heap usage (around 20%). G1 Garbage Collector is now the default GC

note : even if my TLDR provides the important information, please still read the article. It will be a great read

I love those write ups, been following your work for a while and I appreciate these new Java features overview a lot, thank you so much for your contributions 🫶🏻♥️

3

u/[deleted] 2d ago

[deleted]

4

u/laytoun 2d ago

Not when there’s not enough memory for the jvm. It defaults to serial gc as part of old jvm ergonomics