Skip to main content

Java 10 new features in JDK 10

Java 10 new features in JDK 10

Java 10 new features in JDK 10Java 10 new features in JDK 10 - With the last release by Oracle, Java 9 proved not so efficient with its tools & framework for the manufacturers. So, Oracle has delivered a new version Java 10 with many extensive features. The features that are added in Java 10 will help out users to cope up with the task quickly. In this article we emphasis on Java 10 latest features or say JDK 10 new features.

Java 10 latest features and uses

  • Local variable Initializer – It will extend type inference for the declaration of local variables with initializer. It is one of the real features added for developers in JDK 10.

  • Default Set of Root Certificate Authority Certificate  - There is provision to set default the Root Certificate and Authority Certificate. This is done for making OpenJDK builds more appealing for developers. This will open source root certificate in Oracle's Java SE Root CA Program.

  • Docker viable awareness – With a new feature JVM will now quickly recognize it if it is running in a docker container. It will easily fetch container specific information like no of CPU, memory allotted to the container. Previously data was fetch by querying the Operating system.

  • Optimize Startup time and footprint by sharing Application class data. Now JDK 10 will extend the CDS functionality so that application class can be placed in the shared archive. But previously use of CDS was restricted to the bootstrap class loader only. The CDS was first introduced in JDK 5 in attempt to improve the performance of the JVM Startup and also to reduce the resource footprint.

  • More JVM options – It allows Docker container users greater control over system memory.

  • New APIs – The new APIs will enable the creation of unmodifiable collections. The CopyOf, Set.copyOf, and Map.copyOf methods create new collection instances from existing instances. New methods like toUnmodifiableList, toUnmodifiableSet, and toUnmodifiableMap were added to the Collectors class in the Stream package which allows the elements of a Stream to be collected into an unmodifiable collection.

  • Garbage Collector Interface - It is a clean interface within the JVM source code to allow alternative collectors to be quickly and easily integrated.

  • Bug Fixations – The docker container has a bug fix to correct the attachment mechanism when trying to attach from a host process to java process.

  • Graal Java based JIT Compiler – The Graal will let you create runtimes and compilers for new or existing languages in Java. Graal Java as just-in-time compiler to be used on Linux/x64 platform.

Popular posts from this blog

Fix Windows could not find a driver for your network adapter error

Fix Windows could not find a driver for your network adapter error

A Computer run smoothly with the coordination of Software & Hardware. In the absence of any one it will not run at all. Software being the Master utilizes each hardware attached to the System. And each hardware is operated with the help of Device Drivers installed in it. Operating System (OS) uses these device drivers to control & utilize each hardware when needed. Each hardware connected to the system must have their own Device Driver installed. A device driver is a program to initiate a hardware when required by Operating System.

Suppose, you want your PC to connect to the Network, it can only be possible when your PC has network related Device Driver. These Device Drivers are easily downloaded from Manufacturer Websites. In this article we focus on Network related problem. Suppose, your PC not obtaining Network connectivity. And each time you are getting an error message saying "Windows could not find a d…

Fix This Site Can’t Be Loaded from The Cache Chrome Error

Fix This Site Can't Be Loaded from The Cache Chrome Error

This Site Can’t Be Loaded from The Cache - Today, there are several browsers available with extensive features on it. Each browser has its own importance and working principle. Some of the popular browsers available online are Google Chrome, Mozilla Firefox, Opera Mini, Internet Explorer, UC Browser, Safari, Microsoft Edge, Swift fox etc. The popularity of these browsers depends upon the features available in it.

Among them Google Chrome is the newest and mostly used browser around the world. Holding lots of feature make it more complex and hence more prone to errors. The types of error come up with the level of complexity of the program. If you are Chrome user and facing one of such error then read the full article. In this article, we focus on an error saying "This site can't be loaded from the cache". The explanation included with this error will be "The saved (cached) copy of this site was unreadable&qu…

Change Facebook Profile Picture Leaving All Unknown

Change Facebook Profile Picture Leaving All Unknown

Change Facebook Profile Picture Leaving All Unknown - Today, we spend lots of time in Social media platforms such as WhatsApp, Facebook, Instagram, Skype, YouTube, Twitter etc. We love to share Images & Videos with our friends via these platforms. These applications are largely used on Smartphones. We need to download concerned apps from inbuilt software, Play Store in Android Platform.

After downloading the App, we create an ideal account with a profile picture. We join the network by sending friend request. When request is accepted, we are added to such a community. In this article we take a close look on Facebook. Facebook is vastly used all around the world. Two person residing miles away can also share their views easily.

Change Facebook Profile Picture Leaving All Unknown

Whenever we open Facebook, lots of Images & Videos are seen with gentle scroll. In this article we focus on an interesting thing say Profile Picture. In F…