This pages convers an latest features summary introduced in java14 language.
java14 Features
- JEP 361: Switch Expressions
- JEP 358: Helpful NullPointerExceptions
- Deprecate the ParallelScavenge + SerialOld GC Combination
- Records, are similar to type alias in typescript, that used to store data. classes with private fields with public constructor,
- JEP-305: Pattern Matching instanceof
- JVM Improvements
- Garbage Collector:
Default Garbage collector is G1 since Java 9 version. In this version, G1 GC made as Non Uniform Memory Access
allocation. It is helpful to improve performance on large machine
It is Enabled by using command flag
-XX:+UseNUMA
for javac command.
- Garbage Collector:
Default Garbage collector is G1 since Java 9 version. In this version, G1 GC made as Non Uniform Memory Access
allocation. It is helpful to improve performance on large machine
It is Enabled by using command flag
When is Java 14 released?
Java 14 is Java standard development Kit , Open source implementation of Java SE Platoform. It contains few language features and bugfixes and released in 17 March 2020.