2 ms·
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?
by coldtea 6y ago
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?
- AnthonBerg 6y agoI 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.
- perennus 6y agoI 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.
- coldtea 6y ago>-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.