home.social

#jdk18 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #jdk18, aggregated by home.social.

  1. #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:
    #JDK17: Shenandoah
    #JDK18: ZGC, Serial GC, and Parallel GC