News for hackers. Stuff that matters.
Re:Java’s new garbage collector promises low pause times on ... by waterbear on Thursday August 30, 2018 @10:01AM (#17876766)
Isn’t Java a pay-to-play runtime now? I thought Oracle changed the licensing model after Java 8?
Re:Java’s new garbage collector promises low pause times on ... by aseipp on Thursday August 30, 2018 @10:13AM (#17876855)
What they did was change the update model for paid versions of the standard Oracle JDK -- you must have a commercial license with Oracle in order to receive security and bugfix updates for copies of the Oracle JDK.

OpenJDK, on the other hand, was unaffected by this change; things like security mitigations/fixes land in OpenJDK, and make their way to other versions (like older JDK versions, or Oracle enterprise copies) from there. So, you can go download Zulu or OpenJDK binaries from your distributor (such as your Linux distribution) and you'll be fine (assuming they update promptly).

There are also feature distinctions between the Oracle JDK and OpenJDK, but they have been getting smaller over time -- AppCDS and Flight Recorder, which were Oracle-customer-only features, for example, are now in OpenJDK proper (FR will come in JDK 11), and many features such as ZGC (and originally G1, too, I think) were developed in the open and went into OpenJDK directly, right from the start.

If you're just running a bog standard Linux/BSD system with some Java software on it, you're almost certainly OpenJDK already anyway, and your distribution maintainers handle security updates for you.

Re:Java’s new garbage collector promises low pause times on ... by Twirrim on Thursday August 30, 2018 @10:21AM (#17876936)
ZGC is going to be in OpenJDK, the fully open source, reference implementation, of Java: http://openjdk.java.net/projects/zgc/

All of the proprietary bits in Oracle's Java implementation are also being fully open sourced: https://www.infoq.com/news/2017/10/javaone-opening

Re:Java’s new garbage collector promises low pause times on ... by DannyB2 on Thursday August 30, 2018 @10:19AM (#17876909)
Get your JVM from Oracle, Azul, Adopt Open JDK, Red Hat.

You can either:

1. Update it every six months, for free, if you want to keep current with security updates.

2. Pay for updates on versions older than six months.

3. Not pay, not upgrade, and live with unsupported versions.

Adopt Open JDK has indicated their intention to back port patches to older versions for several years past their expiration for free.

Re:Java’s new garbage collector promises low pause times on ... by _old_dude_ on Thursday August 30, 2018 @01:07PM (#17878440)
No, Stephen Colebourne has recently written a blog post [1] on that subject.

[1] http://blog.joda.org/2018/08/java-is-still-available-at-zero...

Re:Java’s new garbage collector promises low pause times on ... by antonvs on Thursday August 30, 2018 @10:11AM (#17876842)
No. The change was that you need to pay to get updates for older versions of the runtime.
Re:Java’s new garbage collector promises low pause times on ... by koolba on Thursday August 30, 2018 @10:11AM (#17876838)
No it’s still free, they (Oracle) are just not supplying the free JVMs. There are plenty of alternatives for OpenJDK builds that are FOSS.
Re:Java’s new garbage collector promises low pause times on ... by antonvs on Thursday August 30, 2018 @10:13AM (#17876857)
Oracle still supplies free JVMs. The change was that to get updates for older versions of the JVM, you need to pay.
Re:Java’s new garbage collector promises low pause times on ... by pjmlp on Thursday August 30, 2018 @10:43AM (#17877132)
And even here, it is something that Sun used to do as well.
Re:Java’s new garbage collector promises low pause times on ... by dig1 on Thursday August 30, 2018 @10:13AM (#17876858)
That is for Java SE8. Not affected for later releases. Beside, ZGC is part of OpenJDK, which is under GPL.
Re:Java’s new garbage collector promises low pause times on ... by matt_heimer on Thursday August 30, 2018 @10:37AM (#17877085)
http://www.oracle.com/technetwork/java/javase/eol-135779.htm..., The Oracle JDK will cost for production deployments but free for development beginning with Java SE 11. OpenJDK will be interchangeable with the Oracle JDK and Oracle will provide OpenJDK builds for free.