News for hackers. Stuff that matters.
Re:Java 12 by pron on Tuesday March 19, 2019 @08:05PM (#19437515)
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/

Re:Java 12 by spricket on Tuesday March 19, 2019 @09:00PM (#19437850)
Wow great link. I live pretty deep in Javaland and had no idea it was that good!
Re:Java 12 by gigatexal on Wednesday March 20, 2019 @03:46AM (#19439857)
If it lives up to claims surely it’s a paid for add on?
Re:Java 12 by pron on Wednesday March 20, 2019 @07:15AM (#19440925)
Originally 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.
Re:Java 12 by gigatexal on Wednesday March 20, 2019 @05:28PM (#19447136)
I 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?
Re:Java 12 by pron on Wednesday March 20, 2019 @05:51PM (#19447354)
Sure. 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.

Re:Java 12 by karussell on Thursday March 21, 2019 @04:43PM (#19457110)
It works really great with heaps >100GB and is included in the openjdk since 11. Note, that only linux is supported, I think
Re:Java 12 by gigatexal on Friday March 22, 2019 @01:08AM (#19459789)
As my world is currently only serverside this isn’t a limitation but a feature ;)