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

When Task Scheduler gets Infected by Malware

When Task Scheduler gets Infected by Malware

When Task Scheduler gets Infected by Malware - We are familiar with malware attacks on Computer. The hackers infect one or more files and thereby attaining full control on the System. There are millions of victims who had loosen either data or dollars in this respect. In this article we see a System file which is infected by these hackers at first stage. The System file infected by malware at first stage is Task Scheduler Engine (Taskeng.exe). The Task Scheduler Engine is a system file located in C:\Windows\System32 folder. This location is the default location for Taskeng.exe.

The Task Scheduler Engine is responsible for keeping track of tasks set to run at a time predefined by the user of the PC. As said earlier, the original location of this scheduler is C:\Windows\System32 folder. But it is suspicious if the location of scheduler gets change. If it is found in some other folder then it must be infectious. As a result, you constantly get a…

How to Project Android Phone Screen on Windows PC

How to Project Android Phone Screen on Windows PC

Project Android Phone Screen on Windows PC - Four out of Five of us have Smartphones in our Pocket. We spend lots of time on Smartphone utilities like Facebook, Twitter, WhatsApp, YouTube and other interesting Apps. These Smartphones are tremendously used due to Android Operating System installed in it. Android OS is one the successful mobile based OS running in the market.

On the Other side, Microsoft is emphasizing on features to ease Android user's connectivity with it. Microsoft has done lots of improvement for mobile utilities to the Windows 10 version 1809. With this upgradation, we can easily project Android phone screen on Windows PC. The extensive use of such features is seen on Digital Smart TVs Today. The introduction of Wi-Fi feature makes more reliable and user friendly.

So, if you are boredom with 5-6-inch Android Screen and want to mirror it on Computer screen, then read the full article to know the process, how to proj…

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…