News for hackers. Stuff that matters.
Re:ZGC – What's new in JDK 16 by coldtea on Tuesday March 23, 2021 @01:40PM (#26557803)
Question: is the GC suitable for use with something like Idea or is it more for server workloads? Would it reduce UI GC-pauses lag accordingly?
Re:ZGC – What's new in JDK 16 by AnthonBerg on Tuesday March 23, 2021 @02:34PM (#26558500)
I confirm that ZGC works with IntelliJ IDEA, and it seems to me that it makes IDEA respond quite a bit faster. It's not hard to get IntelliJ IDEs to use ZGC by editing the VM properties file.
Re:ZGC – What's new in JDK 16 by perennus on Tuesday March 23, 2021 @03:07PM (#26558986)
I tried it last week actually with OpenJDK15+Windows. With JDK16, IntelliJ didn't boot.

-XX:+UseZGC: Memory usage for my project dropped to a constant 600 megs. Using the IDE felt just as fast as the normal experience.

-XX:+UseShenandoahGC, -Xmx4g. Shenandoah GC used a constant 4 gigs of ram. It was a slower user experience for me.

In the end, I went back to the default settings, because the custom JDK changes the look and feel and I don't like it.

Re:ZGC – What's new in JDK 16 by coldtea on Tuesday March 23, 2021 @04:09PM (#26559794)
>-XX:+UseZGC: Memory usage for my project dropped to a constant 600 megs. Using the IDE felt just as fast as the normal experience.

Shame, I hoped it would feel faster than the normal experience, with (even infrequent) user-felt GC pauses completely eliminated.