3 ms·
Something not mentioned amongst the JEPs on the release email is that this release also fixes a bunch of issues related to running the JVM in a container. I wro
by sadiq 9y ago
Something not mentioned amongst the JEPs on the release email is that this release also fixes a bunch of issues related to running the JVM in a container. I wrote about some of these yesterday:
https://www.opsian.com/blog/java-on-docker/ https://www.opsian.com/blog/java-on-docker/
Relevant JEPs:
https://bugs.openjdk.java.net/browse/JDK-8146115 https://bugs.openjdk.java.net/browse/JDK-8146115
https://bugs.openjdk.java.net/browse/JDK-8179498 https://bugs.openjdk.java.net/browse/JDK-8179498
https://bugs.openjdk.java.net/browse/JDK-8146115 https://bugs.openjdk.java.net/browse/JDK-8146115
- suj1th 9y agoThanks for sharing the blog-post. I use Scala on Docker, and the features/fixes you mention certainly helps me in simplifying my deployments.
- dordoka 9y agoSome support for these was also introduced in JDK 8u131 back in April 2017 [0]. Do you know if these issues are the same ones fixed in JDK 8 or maybe they have now been backported to JDK 8 and 9? Thanks! [0]: https://blogs.oracle.com/java-platform-group/java-se-support-for-docker-cpu-and-memory-limits https://blogs.oracle.com/java-platform-group/java-se-support...
- sadiq 9y agoJDK 8u131 and 9 had a few improvements but the changes to 10 increase support. For example, 8u131 and 9 only supported cpu sets whereas 10 includes support for cpu shares. Available memory detection in 10 applies to the whole of the JVM rather than just the heap on 8u131 and 9.
- dordoka 9y agoMakes sense, thanks a lot for the insight. I've seen some comments on the JDK 10 issues pushing for a backport to JDK 8 and 9, let's hope they are eventually backported!