DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Redefining DevOps: The Transformative Power of Containerization
  • What Is React? A Complete Guide
  • Tomorrow’s Cloud Today: Unpacking the Future of Cloud Computing
  • Execution Type Models in Node.js

Trending

  • Redefining DevOps: The Transformative Power of Containerization
  • What Is React? A Complete Guide
  • Tomorrow’s Cloud Today: Unpacking the Future of Cloud Computing
  • Execution Type Models in Node.js
  1. DZone
  2. Coding
  3. Java
  4. Java 10: New Features And Enhancements

Java 10: New Features And Enhancements

Here's an overview of what's new and what's been deprecated in JDK 10's release, as well as thoughts on the new release cadence.

Arnab Sarkar user avatar by
Arnab Sarkar
·
Apr. 17, 18 · News
Like (12)
Save
Tweet
Share
92.13K Views

Join the DZone community and get the full member experience.

Join For Free

Oracle has recently delivered the new Java 10 within the previously announced deadline. It is a feature release of the Java SE platform, which got released on March 20, 2018. It contains various new features and enhancements into many functional areas. Some of its key improvements include enhancements for garbage collection and compilation as well as local variable types.

Georges Saab, vice president of Software Development in Oracle’s Java Platform Group, said that “Oracle is committed to rapidly evolving and delivering new innovations in the Java platform – this being the first in our newly adopted release cycle and licensing model. We’re especially proud of the simplicity of this release, which introduces useful new features, removes unnecessary elements, and is easy for developers to use.”

Java 10 is scheduled to be a short-term release, and its public updates are slated to end in six months. Moreover, JDK 11 will be the next long-term support (LTS) version of Java, which is due in September.

You can download Java 10 by clicking here.

Let’s take a sneak peek into what new features are in Java 10.

These features are defined through the JDK Enhancement Proposals (JEP) process and are mentioned below.

Application Data-Class Sharing

This JEP extends the existing Class-Data Sharing (“CDS”) feature for allowing application classes to be placed in the shared archive in order to improve startup and footprint.

Parallel Full GC for G1

It improves G1 worst-case latencies by making the full GC parallel.

Garbage Collector Interface

It will improve the source code isolation of different garbage collectors by introducing a clean garbage collector (GC) interface.

Consolidate the JDK Forest into a Single Repository

It will combine the numerous repositories of the JDK forest into a single repository to simplify and streamline development.

Local-Variable Type Inference

It will enhance the Java Language to extend type inference to declarations of local variables with initializers and also introduces var to Java, something that is common in other languages.

Remove the Native-Header Generator Tool

It will remove the javah tool from the JDK, since it has been superseded by superior functionality in javac.

Thread-Local Handshakes

It introduces a way to execute a callback on threads without performing a global VM safepoint. Makes it both possible and cheap to stop individual threads and not just all threads or none.

Time-Based Release Versioning

It revises the version-string scheme of the Java SE Platform and the JDK, and related versioning information, for present and future time-based release models.

Root Certificates

It provides a default set of root Certification Authority (CA) certificates in the JDK.

Heap Allocation on Alternative Memory Devices

It enables the HotSpot VM to allocate the Java object heap on an alternative memory device, such as an NV-DIMM, specified by the user.

Experimental Java-Based JIT Compiler

It enables the Java-based JIT compiler, Graal, to be used as an experimental JIT compiler on the Linux/x64 platform.

Additional Unicode Language-Tag Extensions

It will enhance the java.util.Locale and related APIs to implement additional Unicode extensions of BCP 47 language tags.

Removed Features and Options in Java 10

This will describe the APIs, features, and options that were removed in Java SE 10 and JDK 10. It may also identify potential compatibility issues that you could encounter when migrating to JDK 10.

Image title

Deprecated Features and Options in Java 10

This will describe the deprecated APIs, features, and options that have been identified as deprecated in this release and are subject to removal from future versions of Java SE and the JDK. They should be used with that possibility in mind.

Image title

For additional changes and information about this release, you can refer to this.

Final Thoughts

So overall, it seems that Java 10 is not exactly a cause for alarm, as it doesn’t contain any major changes or improvements. However, it represents the first release in the new, more frequent, and gradual release cycle. It’s impressive enough that Java 10 was delivered as-promised and Just-in-Time like its compiler. The coming time will tell whether the Java community will accept the new delivered model” For developers, it is much more useful than its previous versions.

We know that the popularity of Java is on the rise due to its incredible features. Even after more than 20 years, Java continues to move at an exciting and accelerated pace. So, if you are planning to outsource the development work or hire Java developer then we at ValueCoders are always there for them. Because our web app developers guaranteed SLA’s, have implemented over 4200+ projects, having 13+ years of experience, we are having over 2500 happy customers and provide a zero-billing guarantee.

Java (programming language)

Published at DZone with permission of Arnab Sarkar, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Redefining DevOps: The Transformative Power of Containerization
  • What Is React? A Complete Guide
  • Tomorrow’s Cloud Today: Unpacking the Future of Cloud Computing
  • Execution Type Models in Node.js

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: