Java 10 Released with Parallel Full GC, Application Class-Data Sharing – Java SE 10 (JDK 10)

Last updated
App Shah
Crunchify » Java and J2EE Tutorials » Java 10 Released with Parallel Full GC, Application Class-Data Sharing – Java SE 10 (JDK 10)

Java 10 Released - Crunchify Tutorial

Java 10 is out in the world now. At Crunchify, we have been working with Java 9 since long time and recently we have upgraded to Java SE 10 aka JDK 10.0

But let’s go over first thing first.

How to install Java 10 on your laptop first?

Just head over to URL http://www.oracle.com/technetwork/java/javase/downloads/index.html to download latest version of Java.

Download JDK 10

Once you download it just install it and you should be good. If you are using Mac then use command java -version to check if it’s correctly or not.

bash-3.2$ java -version
java version "10" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

What’s new in Java 10?

  1. Parallel Full Garbage Collection for G1 which improves worst case latencies.
  2. Local variable type inference.
  3. The existing Class-Data Sharing feature is extended.
  4. Are you using Docker? Well, Java 10 is well aware of Docker and more compatible with Docker.
  5. Are you using unmodifiable collections? Well, Java 10 well supports it now with new APIs.
  6. You could stop now individual threads rather stopping Parent thread. You are not bound to stopping all Vs. one.
  7. Java 10 provisions now default set of root authority certificates.

We will keep adding more features and tutorial on Crunchify over next few week. Please stay tuned for more information on Java 10.

Happy coding.

Leave a Comment