Nicolai Parlog · @nipafx
913 followers · 95 posts · Server mastodon.social

#11: More String Deduplication

On average, ~25% of heaps are char arrays for strings and roughly half of them are duplicates. 😳 Since 2017, G1 deduplicates them, which saves ~10% heap size.

Other GCs followed suit:
: Shenandoah
: ZGC, Serial GC, and Parallel GC

#jdk17 #jdk18

Last updated 2 years ago

Christian Ullenboom · @ullenboom
10 followers · 63 posts · Server mas.to

Article about Javadoc Snippets, introduced in Java 18: javaadvent.com/2022/12/javadoc

#jdk18 #java

Last updated 2 years ago

CodeDead.com · @CodeDead
5 followers · 39 posts · Server mstdn.social