Oracle announced its programing language Java 14

Must Read
Sienna Rowley
Sienna is an editor at Cloud Host News. She is an internet enthusiast, always eager to explore the latest trend in the tech space. In her free time, she is a modest family woman who loves traveling.

Oracle declared the release of Java 14. The JDK 14 or Java Development Kit 14 will add two new features which will improve developer productivity and including Java language assistance for switch expressions. The latest version will be consisting of two new highly requested preview features, Pattern Matching for instanceof (JEP 305) and Records (JEP 359), as well as the second preview of Text Blocks (JEP 368).

The latest java release will also have Java language support for switch expressions, continuous monitoring of JDK Flight Recorder data with new API’s. Low-latency Z Garbage collector support extended to mac os and Windows. Other features include the addition of incubator modules, the packaging of self-contained Java applications. Foreign memory access API added for safe, efficient access to memory outside of the Java heap.

Java 14 latest features:

  • JEP 305: Pattern Matching for instanceof (Preview): With this feature java pattern matching for instanceof operator is improved. By removing the need for common boilerplate code it allows a more concise type-safe code which improves developer productivity.
  • JEP 343: Packaging Tool (Incubator): This tool helps in packaging java applications for distribution in platform-specific formats. This serves developers with modern applications where constraints need runtimes and applications to be bundled in a single deliverable. The tool is in the incubator module that means the tool will be tested by developers to get their reviews before finalizing or removing in the future release.
  • JEP 345: NUMA-Aware Memory Allocation for G1: The overall performance of the G1 garbage collector on non-uniform memory access (NUMA) systems is improved with this JDK Enhancement Proposal.
  • JEP 349: JFR Event Streaming: this proposal will deliver continuous monitoring and easy access to JFR data for various tools and data and encourage more innovation.

Looking for more software news? Stay tuned for the latest update news, subscribe to our newsletter to get the latest updates.

spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest News

Canonical Releases Ubuntu 21.10 Desktop, Download Now!

The world's most popular Linux distro, Ubuntu has got a new version i.e: Ubuntu 21.10 has been released. The...

More Articles Like This