4 ms·
ZGC, included in JDK 11, has a 1ms average pause time and 4ms max on some demanding benchmarks, and they're now targeting 1ms max pauses. https://www.opsian.co
by pron 8y ago
ZGC, included in JDK 11, has a 1ms average pause time and 4ms max on some demanding benchmarks, and they're now targeting 1ms max pauses.
https://www.opsian.com/blog/javas-new-zgc-is-very-exciting/ https://www.opsian.com/blog/javas-new-zgc-is-very-exciting/
- spricket 8y agoWow great link. I live pretty deep in Javaland and had no idea it was that good!
- gigatexal 8y agoIf it lives up to claims surely it’s a paid for add on?
- pron 8y agoOriginally it was intended as a commercial feature, but since JDK 11 Oracle open sourced all previously-commercial features in the JDK, and now it's part of OpenJDK. It's already available in JDK 11 and 12.
- gigatexal 8y agoI never got to the level where I needed anything more than the stock default GC. But this looks compelling. Does Kotlin and other JVM based languages benefit from it, too?
- pron 8y agoSure. All languages that run on the Java platform[1] can benefit from it, and from most other Java platform enhancements. [1]: I prefer saying Java platform rather than JVM, because a program written in Kotlin shares over 90% of its infrastructure code with a program written in Java (not including the OS), and the JVM constitutes only about 20% of that.
- karussell 8y agoIt works really great with heaps >100GB and is included in the openjdk since 11. Note, that only linux is supported, I think
- gigatexal 8y agoAs my world is currently only serverside this isn’t a limitation but a feature ;)