In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "What are the new features of JDK14". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian to study and learn "What are the new features of JDK14" together!
Although JDK13 was released on September 17 of this year, it will not affect the development of the next version of JDK14. I heard that the official new function will be announced soon, so we might as well infer it in advance here.
In its September 17 release, Oracle mentions that the functionality of switch expressions is expected to be finalized in JDK14. As I mentioned in my previous article, the switch expression was introduced as an experimental syntax in JDK12 and JDK13, and after three iterations, the switch expression was introduced as a matter of course.
It also includes an update to JDK Enhancement Proposal (JEP): Java mapped byte buffers will support non-volatile memory (NVM). This will allow FileChannel to create MappedByteBuffer instances pointing to NVM.
NVM enables programmers to build and update program state across programs without incurring the large replication or transfer costs typically required for input and output operations. This is especially important for trading programs. Therefore, the main goal of this JEP is to ensure that clients can access and update NVM consistently and efficiently from Java programs.
Another goal is to implement this functionality using JDK's internal API Unsafe, which can be made available to classes other than MappedByteBuffer that want to commit to NVM. It also provides the ability to track buffers on NVM maps using existing APIs for oversight and management.
Oracle plans to release JDK14 in March 2020 after a six-month release cycle. JDK14 will be a non-LTS (Non-Long Term Support Release) and will only be supported for 6 months.
If you are interested, you can download a preview version from https:// jdk.java.net/14/
Thank you for reading, the above is "JDK14 what new features" of the content, after the study of this article, I believe we have a deeper understanding of what new features JDK14 this issue, the specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.